- Home /
Collision of a constantly moving object
I am using a flying object. I want the object to move in the direction of its face. So i used transform.position = transform.position + (transform.forward *5 );
But after using this the object is not colliding with other objects and it is going through other objects.
How can I make the object move constantly in facing direction and also keep the collisions normal.
transform.forward did not really move an object, they only blink an object forward, so its like you teleport from 1 side to another side of a door.
try this link http://answers.unity3d.com/questions/54766/movement-methods-that-have-collision-check.html
and try to search for this problem first, i think there's so much Question like your that has been answered :)
Your answer
Follow this Question
Related Questions
Constant decrease health value during collision c# 0 Answers
how to stop/suspend all motion after collision 1 Answer
Kinetic Energy 1 Answer
constant moving up? 2 Answers