- Home /
Question by
nbg_yalta · Feb 24, 2014 at 10:12 PM ·
rotationrigidbodyquaternionslerpz
smoothly rotate my rigidbody with CapsuleCollider to facing the fall direction
Hi all, got my fish jumping from the water with force, then falling down:
rigidbody.AddForce(Vector3.up*jumpForce, ForceMode.Impulse);
what I want is to make the fish smoothly rotating to facing the fall direction... I tried different ways but can't get it work... For now I have made my facing, with
transform.up = rigidbody.velocity;
But in this way, surely, facing happens immediately and this is unacceptable...
Comment
Your answer
Follow this Question
Related Questions
Rigidbody spins out of control when colliding into corner 0 Answers
How to wall-walk? 2 Answers
Rigidbody along with up-vector 2 Answers
Calculating Torque but cant add Quaternion 0 Answers
Rigidbody Rotation Problem 0 Answers