Hello, is there any Rigidbody.MovePosition and Rigidbody.MoveRotation alternative for PhysicsBody?
Thanks
Hello, is there any Rigidbody.MovePosition and Rigidbody.MoveRotation alternative for PhysicsBody?
Thanks
The equivalent is moving the body with its velocity or AngularVelocity. There is a helper function in PhysicsVelocity for this: PhysicsVelocity.CalculateVelocityToTarget
I also recommend checking out the 5e. Kinematic Motion sample and associated script.
Is there a simple way to do this so it moves similar to Translation.Value += Velocity?
I would like to move the position of a rigidbody, while at the same time, the rigidbody reacts normally to gravity and the built in systems. I know there is PhysicsVelocity.Linear += Velocity, but this creates a sliding movement vs snappy controls.