[][src]Struct nphysics3d::object::Collider

#[repr(transparent)]
pub struct Collider<N: Real>(pub CollisionObject<N, ColliderData<N>>);

A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries.

Methods

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

The user-data attached to this collider.

Mutable reference to the user-data attached to this collider.

Sets the user-data attached to this collider.

Replace the user-data of this collider by None and returns the old value.

The collision margin surrounding this collider.

Handle to the body this collider is attached to.

The anchor attaching this collider with a body part or deformable body.

The position of this collider geometry wrt. the body it is attached to.

Handle to the body part containing the given subshape of this collider's shape.

The material of this collider.

Returns true if this collider is a sensor.

The collision object unique handle.

The collision object position.

Sets the position of the collision object.

Deforms the underlying shape if possible.

Panics if the shape is not deformable.

The collision object shape.

The collision groups of the collision object.

The kind of queries this collision object may generate.

The user-defined name of this collider.

Sets the name of this collider.

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Same for T

Should always be Self