|
Hello all; I wrote these codes to move and object to another with constant velocity according to mouse click. But somethings wrong :S . Help me please :)
Thanks for attention...
(comments are locked)
|
|
Hello all; I wrote these codes to move and object to another with constant velocity according to mouse click. But somethings wrong :S . Help me please :)
Thanks for attention...
(comments are locked)
|
Once you sign in you will be able to subscribe for any updates here
By RSS:The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
Topics:
asked: Aug 01 '10 at 12:37 PM
Seen: 1022 times
Last Updated: Aug 01 '10 at 12:37 PM
Transform doesn't have a velocity variable. Add a rigidbody to the object and access velocity that way. e.g. gameObject.rigidbody.velocity = Vector3.forward*5;