Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix angular velocity motion servo with little objects.
Previously the force computed in servo control logic brick was multiplied by the mass. This behaviour is correct because bullet in btRigidBody::integrateVelocities compute the linear velocity using force / mass. But the angular velocity doesn't use this formula. For the angular velocity we have to multiply the torque by the inertia of the body because bullet compute angular velocity with: torque * inertia_tensor.
- Loading branch information