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]

[src]

Creates a new collision object.

[src]

The collision object unique handle.

[src]

The collision object's broad phase proxy unique identifier.

[src]

The collision object position.

[src]

Sets the position of the collision object.

[src]

The collision object shape.

[src]

The collision groups of the collision object.

[src]

The kind of queries this collision object is expected to .

[src]

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

[src]

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

Trait Implementations

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