Rigid body velocity rotation,Rotate instead of Velocity?
In my game, I have a cube that's rolling on the floor but if I use:
rb.AddForce( 0, 0 ,0 ,ForceMode.VelocityChange); it adds velocity to the cube which is not very realistic since you can't change velocity mid-air witch is not what I want. I want to know how to instead of adding velocity in a specific direction I add velocity to the rotation so it could only move on the floor and it would also rotate more and not slide around on the floor. is there also a way to make it diagonal rotation and also maintain the direction of rotation even if the cube is not facing in the same rotation of the camera?.
Your answer
Follow this Question
Related Questions
Why is new Vector3 stronger when player is in the air? 0 Answers
Figuring out what the acceleration will be before applying force to RigidBody2D 0 Answers
Proper way to set a RigidBody's maximum velocity 1 Answer
There is no velocity in my rigidbody! 0 Answers
Rigidbody - Why does my issue get fixed by doing THIS? 0 Answers