• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Vector3.distance

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

GarMatt_ asked

Having Trouble With 2D Movement

Sep 14, '20 c#·2d·tiles·vector3.distance·setcolor

0 Replies

0 Votes

avatar image

AntonPetrov commented

Using Vector3.distance without the y axis

Aug 9, '20 c#·3d·enemy·enemyai·vector3.distance

4 Replies

0 Votes

avatar image

mcunha98 edited

How limit the movement using distance

Apr 7, '20 in Help Room

2 Replies

0 Votes

avatar image

taqiarzoo424 published

how to Calculate A Car Travel Distance towards Target,

Apr 3, '20 c#·error·distance·vector3.distance·travel

0 Replies

0 Votes

avatar image

taqiarzoo424 asked

how To Calculate Car Travel Distance towards Target

Apr 1, '20 unity 5·error·vector3.distance

0 Replies

0 Votes

avatar image

firepro20 answered

Rotate AI towards nearest target within sphere collider

Oct 15, '19 transform.position·ontriggerstay·rotatetowards·transform.forward·vector3.distance

2 Replies

0 Votes

avatar image

buddrfingrs commented

How to get Vector3.Distance from the perimeter of a circle?

Jun 4, '19 in Help Room

1 Reply

0 Votes

avatar image

SunnyPalmSprings commented

Get x and y Distance between two Vectors

May 1, '19 vector3·distance·meshfilter·vector3.distance

1 Reply

0 Votes

avatar image

JenoahKers asked

What am I doing wrong in my distance calculation?

Apr 29, '19 vector3·distance·magnitude·vector3.distance

0 Replies

0 Votes

avatar image

fredii3 commented

Vector3 distance to fill slider.

Jan 4, '19 slider·vector3.distance

2 Replies

0 Votes

avatar image

Paramotion edited

Rotate object related to Vector3.Distance

Jul 5, '18 position·localrotation·vector3.distance

1 Reply

0 Votes

avatar image

ryanjandriuk answered

Calculating distance is not working

Jun 29, '18 in Help Room

1 Reply

0 Votes

avatar image

NorthStar79 commented

I'm almost finished with my game, but I have a major bug that makes it basically unplayable, can someone help please

Dec 14, '17 in Help Room

0 Replies

0 Votes

avatar image

binoculars88 edited

ScreenToWorldPoint and Vector3.Distance give different values

Nov 29, '17 distance·screentoworldpoint·vector3.distance

1 Reply

0 Votes

avatar image

arnatus commented

Why it throws "Index is out of range" Exception here?

Oct 3, '17 in Help Room

1 Reply

0 Votes

avatar image

Crazetens edited

move a player at specific distance to road lanes

Sep 18, '17 in Help Room

0 Replies

0 Votes

avatar image

zarkosrbija answered

Distance check between player and empty object with box collider not working

Sep 8, '17 scene-change·distance check·vector3.distance

1 Reply

0 Votes

avatar image

AdmiralHuge commented

Comparing Vector 3 position to a list of vector 3 positions

Aug 30, '17 lists·for-loop·randomspawning·vector3.distance

0 Replies

0 Votes

avatar image

MorganOneware commented

Set speed depending on distance between objects?

Aug 25, '17 in Help Room

1 Reply

0 Votes

avatar image

Malace answered

Detecting Enemy Distance via List

Aug 22, '17 in Help Room

2 Replies

0 Votes

avatar image

patnaoum commented

Bad idea? All objects tracking the player?

Aug 14, '17 tracking·procedural generation·vector3.distance·infinite terrain

1 Reply

0 Votes

avatar image

Kurtz asked

Looking for the optimal smooth incremental movement method.

Jun 15, '17 in Help Room

0 Replies

0 Votes

avatar image

DragonTTK asked

Distance interaction

Jun 11, '17 in Help Room

0 Replies

0 Votes

avatar image

Gabestronaut answered

Vector3.Distance returning offset values due to down force interference. Closed

May 16, '17 in Help Room

1 Reply

0 Votes

avatar image

FortisVenaliter answered

vector 3 to unity.transform

Apr 13, '17 in Help Room

1 Reply

0 Votes

avatar image

soco2211 asked

Vector3.Distance keeps growing

Apr 2, '17 in Help Room

0 Replies

0 Votes

avatar image

HenryStrattonFW commented

Vector3.Distance - Triggering an action on distance

Feb 1, '17 in Help Room

1 Reply

0 Votes

avatar image

trihugger edited

RayCast(Ray ray, out RaycastHit hitInfo, float maxDistance, int layerMask) question

Jan 3, '17 in Help Room

0 Replies

0 Votes

avatar image

DJGhostViper commented

RTS Resource Droppoff

Dec 22, '16 resources·rts·findgameobjectswithtag·vector3.distance·findgameobjectwithtag

2 Replies

0 Votes

avatar image

Nido commented

Measuring distance on Camera Screen-Space Canvas in -canvas units-

Aug 19, '16 ui·canvas·math·units·vector3.distance

1 Reply

1 Votes

  • 1
  • 2
  • 3
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

vector3 distance c# transform.position raycast javascript transform gameobject vector3.position 2d vector3.lerp error enemy position ai ray distance check transform.translate navmeshagent raycasthit variable findgameobjectswithtag lerp waypoint setcolor
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges