Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get direction from one point to another

Vector3 dir = (objectB.transform.position - objectA.transform.position).normalized
 
PREVIOUS NEXT
Tagged: #unity #direction #point
ADD COMMENT
Topic
Name
4+2 =