Enum RigidBodyType3D
#[repr(u8)]pub enum RigidBodyType3D {
Dynamic = 0,
Static = 1,
KinematicPosition = 2,
KinematicVelocity = 3,
}Expand description
Kinematic / dynamic simulation class of a 3D rigid body.
Variants§
Dynamic = 0
Simulated under forces, gravity, contacts, and joint constraints.
Static = 1
Infinite-mass immovable world collider.
KinematicPosition = 2
Driven by target PGA Motor positions (e.g. moving platforms or animated kinematic bones).
KinematicVelocity = 3
Driven by prescribed linear/angular velocities with infinite mass.
Trait Implementations§
§impl Clone for RigidBodyType3D
impl Clone for RigidBodyType3D
§fn clone(&self) -> RigidBodyType3D
fn clone(&self) -> RigidBodyType3D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RigidBodyType3D
§impl Debug for RigidBodyType3D
impl Debug for RigidBodyType3D
§impl Default for RigidBodyType3D
impl Default for RigidBodyType3D
§fn default() -> RigidBodyType3D
fn default() -> RigidBodyType3D
Returns the “default value” for a type. Read more
impl Eq for RigidBodyType3D
§impl PartialEq for RigidBodyType3D
impl PartialEq for RigidBodyType3D
impl StructuralPartialEq for RigidBodyType3D
Auto Trait Implementations§
impl Freeze for RigidBodyType3D
impl RefUnwindSafe for RigidBodyType3D
impl Send for RigidBodyType3D
impl Sync for RigidBodyType3D
impl Unpin for RigidBodyType3D
impl UnsafeUnpin for RigidBodyType3D
impl UnwindSafe for RigidBodyType3D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.