#[repr(transparent)]
pub struct PxArticulationReducedCoordinate<U, Link: ArticulationLink> { /* private fields */ }
Expand description

A new type wrapper for PxArticulationReducedCoordinate. Parametrized by it’s user data type, and the type of it’s ArticulationLinks.

Trait Implementations

Sets the number of iterations the solver should perform. If the articulation is behaving erratically, increasing the iteration counts may improve stability. Read more
Get the number of (position, velocity) iterations the solver will perform.
Check if the articulation is sleeping
Set the inactivity threshold for sleeping this articulation
Read back the inactivity threshold
Set the stabilization threshold for this articulation
Get the stabilization threshold for this articulation
Set the counter for how many steps more the articulation will be awake if below the energy threshold. When this is non-zero, the articulation may sleep but is not required to do so depending on other factors. Read more
Get the counter for how many steps more the agent will be awake if below the energy threshold.
Wake up the articulation
Put the articulation to sleep immediately
Get the total number of links on this articulation
Get a reference the root link of this articulation if it has one
Get a mutable reference to the root link of this articulation if it has one
Get a vec of all the links
Get a mutable vec of all the links
Get the world bounds of this articulation
Add a link to this articulation
Create a joint between two articulation Links
Release an articulation joint, freeing it. Read more
Safety Read more
Get a reference to the user data.
Get a mutable reference to the user data.
Get the number of dofs for the body
Set an articulation flag
Set the articulation flags
Get the articulation flags
Teleport the whole body to the transform and and orientation given by Pose
Create a new cache for this articulation
Release the cache and free the memory
Get the memory size of this cache
Zero everything in the cache
Apply the cache to the articulation
Copy from the articulation to the cache based on the flags
Compute generalized gravity forces acting upon the body and store in cache
Compute the coriolis and centrifugal forces acting upon the multibody
Compute joint force changes caused by external forces
Compute joint acceleration caused by current joint forces
Compute joint force caused by changes in joint acceleration
Compute dense jacobian and store into the cache. Returns: (cols, rows) Read more
Compute the coefficient matrix and store into cache
Compute the force needed to match the velocity and acceleration values given in initial_state
Compute the generalized mass matrix and store into the cache
Pack the maximum coordinates data in maximum into the reduced coordinates data.
Unpack the reduced/generalized coordinates data in reduced into maximum. Maximum needs to have six slots for every joint.
Compute the total center of mass w.r.t. all attached shapes
Compute the total center of mass and velocity w.r.t. all attached shapes
Set the collision layer on all links and shapes of this body
Set the collision layer on all links and shapes of this body
Returns a raw const pointer to the wrapped type. Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe. In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
Returns a raw mut pointer to the wrapped type. Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe. In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Get the concrete type of the actor
Get the world bounds of this actor
Set a flag on this actor
Set the flags to the provided value
Get all actor flags
Set the dominance group
Read the dominance group
Set the owner client of this actor
Read the owner client of this actor
Enable visualization of this actor
set gravity state
Gets the TypeId of self. Read more
Get the name of the real type referenced by this pointer, or None if the returned string is not valid
Returns an enumerated value identifying the type. This may return ConcreteType::Undefined in surprising situations, notably this does not seem to work with get_active_actors. Use get_type for actors if possible. Read more
Set or unset the specified flag on this object.
Set the BaseFlags of this object. Note that replaces all flags currently on the object. Use set_base_flag to set individual flags. Read more
Read the BaseFlags of this object
Returns true if this object can be released, i.e., it is not subordinate.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.