[−][src]Trait physx::rigid_actor::RigidActor
Associated Types
Loading content...Provided methods
pub fn get_nb_constraints(&self) -> u32
[src]
Get the number of constraints on this rigid actor.
pub fn get_constraints(&mut self) -> Vec<&mut Constraint>
[src]
Get the constraints effecting this rigid actor.
pub fn get_global_pose(&self) -> PxTransform
[src]
Get the global pose of this rigid actor. The scale is implicitly 1.0.
pub fn get_global_position(&self) -> PxVec3
[src]
Get the global pose of this rigid actor.
pub fn get_global_rotation(&self) -> PxQuat
[src]
Get the global rotation of this rigid actor.
pub fn set_global_pose(&mut self, pose: &PxTransform, autowake: bool)
[src]
Set the global pose of this rigid actor
pub fn get_nb_shapes(&self) -> u32
[src]
Get number of attached shapes
pub fn get_shapes(&self) -> Vec<&Self::Shape>
[src]
Get a reference to every Shape attached to this actor.
pub fn get_shapes_mut(&mut self) -> Vec<&mut Self::Shape>
[src]
Get a mutable reference to every Shape attached to this actor.
pub fn set_collision_filter(
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
[src]
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
Set the collision filter. Collisions will only occur if this_layers & other_layers != 0.
pub fn set_query_filter(&mut self, this_layers: BitFlags<CollisionLayer>)
[src]
Set the query filter. Queries will only find this item if queried with one of the flags.
pub fn attach_shape(&mut self, shape: &mut Self::Shape) -> bool
[src]
Attach a shape.
pub fn detach_shape(&mut self, shape: &mut Self::Shape)
[src]
Detach a shape.
Implementors
impl<D, Geom: Shape> RigidActor for PxRigidDynamic<D, Geom>
[src]
type Shape = Geom
impl<L, Geom: Shape> RigidActor for PxArticulationLink<L, Geom>
[src]
type Shape = Geom
impl<L, S, D> RigidActor for ActorMap<L, S, D> where
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
[src]
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,