Function RigidBody.linearVelocity
The body's linear velocity. Can be used sporadically, but don't set this every frame, because physics may run in another thread and runs at a different granularity. Use integrateForces
as your process loop for precise control of the body state.