pub trait RigidActor: Class<PxRigidActor> + Actor {
    type Shape: Shape;

Show 13 methods fn get_nb_constraints(&self) -> u32 { ... } fn get_constraints(&mut self) -> Vec<&mut Constraint> { ... } fn get_global_pose(&self) -> PxTransform { ... } fn get_global_position(&self) -> PxVec3 { ... } fn get_global_rotation(&self) -> PxQuat { ... } fn set_global_pose(&mut self, pose: &PxTransform, autowake: bool) { ... } fn get_nb_shapes(&self) -> u32 { ... } fn get_shapes(&self) -> Vec<&Self::Shape> { ... } fn get_shapes_mut(&mut self) -> Vec<&mut Self::Shape> { ... } fn set_collision_filter(
        &mut self,
        this_layers: BitFlags<CollisionLayer>,
        other_layers: BitFlags<CollisionLayer>,
        word3: u32,
        word4: u32
    ) { ... } fn set_query_filter(&mut self, this_layers: BitFlags<CollisionLayer>) { ... } fn attach_shape(&mut self, shape: &mut Self::Shape) -> bool { ... } fn detach_shape(&mut self, shape: &mut Self::Shape) { ... }
}

Required Associated Types

Provided Methods

Get the number of constraints on this rigid actor.

Get the constraints effecting this rigid actor.

Get the global pose of this rigid actor. The scale is implicitly 1.0.

Get the global pose of this rigid actor.

Get the global rotation of this rigid actor.

Set the global pose of this rigid actor

Get number of attached shapes

Get a reference to every Shape attached to this actor.

Get a mutable reference to every Shape attached to this actor.

Set the collision filter. Collisions will only occur if this_layers & other_layers != 0.

Set the query filter. Queries will only find this item if queried with one of the flags.

Attach a shape.

Detach a shape.

Implementors