Enum AngularIntegrationMode
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Defines how a pose integrator should handle angular velocity integration.
public enum AngularIntegrationMode
Fields
ConserveMomentum = 1
Approximately conserves angular momentum by updating the angular velocity according to the change in orientation. Does a decent job for gyroscopes, but angular velocities will tend to drift towards a minimal inertia axis.
ConserveMomentumWithGyroscopicTorque = 2
Approximately conserves angular momentum by including an implicit gyroscopic torque. Best option for Dzhanibekov effect simulation, but applies a damping effect that can make gyroscopes less useful.
Nonconserving = 0
Angular velocity is directly integrated and does not change as the body pose changes. Does not conserve angular momentum.