Struct nphysics3d::force_generator::ConstantAcceleration[][src]

pub struct ConstantAcceleration<N: Real> { /* fields omitted */ }

Force generator adding a constant acceleration at the center of mass of a set of body parts.

Methods

impl<N: Real> ConstantAcceleration<N>
[src]

Adds a new constant acceleration generator.

The acceleration is expressed in world-space.

Add a body part to be affected by this force generator.

Trait Implementations

impl<N: Real> ForceGenerator<N> for ConstantAcceleration<N>
[src]

Apply forces to some bodies.

Auto Trait Implementations

impl<N> Send for ConstantAcceleration<N> where
    N: Scalar

impl<N> Sync for ConstantAcceleration<N> where
    N: Scalar