Struct mgf::RigidBodyVec[][src]

pub struct RigidBodyVec {
    pub x: Vec<Point3<f32>>,
    pub q: Vec<Quaternion<f32>>,
    pub collider: Vec<Moving<Component>>,
    // some fields omitted
}

A vector of rigid bodies.

Fields

Methods

impl RigidBodyVec
[src]

Create an empty RigidBodyVec.

Add a body to the rigid body.

Calculate the rotation, velocity, tensor, and collider for each rigid body.

Return an iterator for the colliders of the rigid body.

Finish all motion that was initiated at the beginning of the frame by integrate.

Trait Implementations

impl Clone for RigidBodyVec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ConstrainedSet<RigidBodyRef, Velocity, RigidBodyInfo> for RigidBodyVec
[src]

Auto Trait Implementations