Struct ncollide2d::world::CollisionObject[][src]

pub struct CollisionObject<N: Real, T> { /* fields omitted */ }

A stand-alone object that has a position and a shape.

Methods

impl<N: Real, T> CollisionObject<N, T>
[src]

Creates a new collision object.

The collision object unique handle.

The collision object's broad phase proxy unique identifier.

The collision object position.

Sets the position of the collision object.

The collision object shape.

The collision groups of the collision object.

The kind of queries this collision object is expected to .

Reference to the user-defined data associated to this object.

Mutable reference to the user-defined data associated to this object.

Auto Trait Implementations

impl<N, T> Send for CollisionObject<N, T> where
    T: Send

impl<N, T> Sync for CollisionObject<N, T> where
    T: Sync