Can someone tell me how do i tell the move direction of an object?
Mar 05, 2011 at 12:20 PM
Can you provide more info on how are you going to use it? It might in general help people to introduce alternatives if they don't know how to do exactly what you asked
See the GameObject Transform: you probably want the 'forward' member.
Mar 05, 2011 at 12:40 PM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
We're looking for more community managers.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Mar 05, 2011 at 12:20 PM
Seen: 4287 times
Last Updated: Mar 05, 2011 at 12:20 PM
Find Vector3 perpendicular to Vector3 A in direction of Vector3 B
Get gameobject limits
add force in camera direction
direction dependent object positioning
Making player face the direction it moves (using angles).
AddRelativeForce to another object
How to change velocity directly to a certain speed while keeping the collide direction?
[2D] Angle to Vector conversion
Detecting when objects are facing each other