Enum physx_sys::PxConstraintSolveHint
source · #[repr(i32)]
pub enum PxConstraintSolveHint {
None,
Acceleration1,
SlerpSpring,
Acceleration2,
Acceleration3,
RotationalEquality,
RotationalInequality,
Equality,
Inequality,
}
Expand description
Constraint type hints which the solver uses to optimize constraint handling
Variants§
None
no special properties
Acceleration1
a group of acceleration drive constraints with the same stiffness and drive parameters
SlerpSpring
temporary special value to identify SLERP drive rows
Acceleration2
a group of acceleration drive constraints with the same stiffness and drive parameters
Acceleration3
a group of acceleration drive constraints with the same stiffness and drive parameters
RotationalEquality
rotational equality constraints with no force limit and no velocity target
RotationalInequality
rotational inequality constraints with (0, PX_MAX_FLT) force limits
Equality
equality constraints with no force limit and no velocity target
Inequality
inequality constraints with (0, PX_MAX_FLT) force limits
Trait Implementations§
source§impl Clone for PxConstraintSolveHint
impl Clone for PxConstraintSolveHint
source§fn clone(&self) -> PxConstraintSolveHint
fn clone(&self) -> PxConstraintSolveHint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxConstraintSolveHint
impl Debug for PxConstraintSolveHint
source§impl PartialEq<PxConstraintSolveHint> for PxConstraintSolveHint
impl PartialEq<PxConstraintSolveHint> for PxConstraintSolveHint
source§fn eq(&self, other: &PxConstraintSolveHint) -> bool
fn eq(&self, other: &PxConstraintSolveHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.