[−][src]Trait nphysics2d::object::BodyDesc
A abstract body descriptor to be passed to the physics World
to create a body.
Associated Types
Loading content...Required methods
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> Self::Body
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> Self::Body
Called by the World
to create a body with the given allocated handle.
Implementors
impl<'a, N: Real> BodyDesc<N> for FEMSurfaceDesc<'a, N>
[src]
type Body = FEMSurface<N>
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> FEMSurface<N>
[src]
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> FEMSurface<N>
impl<'a, N: Real> BodyDesc<N> for MassConstraintSystemDesc<'a, N>
[src]
type Body = MassConstraintSystem<N>
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> MassConstraintSystem<N>
[src]
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> MassConstraintSystem<N>
impl<'a, N: Real> BodyDesc<N> for MassSpringSystemDesc<'a, N>
[src]
type Body = MassSpringSystem<N>
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> MassSpringSystem<N>
[src]
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> MassSpringSystem<N>
impl<'a, N: Real> BodyDesc<N> for MultibodyDesc<'a, N>
[src]
type Body = Multibody<N>
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> Multibody<N>
[src]
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> Multibody<N>
impl<'a, N: Real> BodyDesc<N> for RigidBodyDesc<'a, N>
[src]
type Body = RigidBody<N>
fn build_with_handle(
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> RigidBody<N>
[src]
&self,
cworld: &mut ColliderWorld<N>,
handle: BodyHandle
) -> RigidBody<N>