Bounce when touch collision unity

broken image
broken image

Gives an amount of space to move each frame Transform.Translate(Vector3.foward * ltaTime) These can all change the behavior of how that particular force is applied to the object. Rb.AddForce(transform.foward * ltaTime ) Įvery frame force will be added leading to acceleration up to infinity provided drag is 0.Īllows for specific force modes to be inserted such as Start, Impulse, Acceleration, Force, and Velocity Change. Stable Way to move a rigidbody object without manipulating the physics of the object just the position. Only physics based way to move a kinematic object Rb.MovePosition(transform.position + (transform.forward * ltaTime)) Great for launching an object with a speed independent of its mass Once velocity is set provided there is no drag object will maintain pace until collision.

broken image