Struct nphysics3d::object::Multibody[][src]

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

An articulated body simulated using the reduced-coordinates approach.

Methods

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

Creates a new multibody with no link.

The handle of this multibody.

This is the same as the handle of the link at the root of the multibody's kinematic tree.

Informations regarding activation and deactivation (sleeping) of this multibody.

Mutable informations regarding activation and deactivation (sleeping) of this multibody.

Force the activation of this multibody link.

Force the activation of this multibody link with the given level of energy.

Put this multibody to sleep.

Return true if this multibody is kinematic or dynamic and awake.

The status of this multibody.

Set the status of this body.

The companion ID of this multibody.

Set the companion ID of this multibody.

This value may be overriden by nphysics during a timestep.

Whether or not the status of this multibody is dynamic.

Whether or not the status of this multibody is static.

Whether or not the status of this multibody is kinematic.

The total number of degrees of freedom of this multibody.

Iterator through all the links of this multibody.alloc_jemalloc

All link are guarenteed to be yielded before its descendet.

Get a reference to a specific multibody link.

Get a mutable reference to a specific multibody link.

The vector of generalized velocities of this multibody.

Important traits for &'a [u8]

The slice of generalized velocities of this multibody.

The mutable vector of generalized velocities of this multibody.

Important traits for &'a [u8]

The mutable slice of generalized velocities of this multibody.

The vector of generalized accelerations of this multibody.

The vector of damping applied to this multibody.

Mutable vector of damping applied to this multibody.

Generalized impulses applied to each degree of freedom.

Remove a set of links from this multibody.

Integrate the position of all the links of this multibody.

Apply a displacement to each degrees of freedom of this multibody.

Reset the timestep-specific dynamic information of this multibody.

Updates the positions of the rigid bodies.

Computes the constant terms of the dynamics.

Convert a force applied to the center of mass of the link rb_id into generalized force.

Convert generalized forces applied to this multibody into generalized accelerations.

Convert a force applied to this multibody's link rb_id center of mass into generalized accelerations.

Convert a generalized force applied to le link rb_id's degrees of freedom into generalized accelerations.

The joint attaching this link to its parent is assumed to be a unit joint.

Convert a generalized force applied to the link rb_id's degrees of freedom into generalized accelerations.

The augmented mass (inluding gyroscropic and coriolis terms) in world-space of this multibody.

Generates the set of velocity and position constraints needed for joint limits and motors at each link of this multibody.

Store impulses computed by the solver for joint limits and motors.

Auto Trait Implementations

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

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