[][src]Trait oxygengine_physics_2d::prelude::ncollide2d::interpolation::RigidMotion

pub trait RigidMotion<N> where
    N: RealField
{ fn position_at_time(&self, t: N) -> Isometry<N, U2, Unit<Complex<N>>>; }

A continuous rigid motion.

This is a function, assumed to be continuous, that, given a parameter t returns a direct isometry. Mathematically speaking this is a one-parameter curve on the space of direct isometries. This curve should have a continuity of at least C0.

Required methods

fn position_at_time(&self, t: N) -> Isometry<N, U2, Unit<Complex<N>>>

Get a position at the time t.

Loading content...

Implementors

impl<N> RigidMotion<N> for BodyPartMotion<N> where
    N: RealField
[src]

impl<N> RigidMotion<N> for Isometry<N, U2, Unit<Complex<N>>> where
    N: RealField
[src]

impl<N> RigidMotion<N> for ConstantLinearVelocityRigidMotion<N> where
    N: RealField
[src]

impl<N> RigidMotion<N> for ConstantVelocityRigidMotion<N> where
    N: RealField
[src]

impl<N> RigidMotion<N> for InterpolatedRigidMotion<N> where
    N: RealField
[src]

Loading content...