avian3d::dynamics::integrator::semi_implicit_euler

Function solve_gyroscopic_torque

source
pub fn solve_gyroscopic_torque(
    ang_vel: Vector,
    rotation: Quaternion,
    local_inertia: Matrix,
    delta_seconds: Scalar,
) -> Vector
Expand description

Computes the angular correction caused by gyroscopic motion, which may cause objects with non-uniform angular inertia to wobble while spinning.