|
| enum | { eINVALID_SUBSTEP_GROUP = 0xff
} |
| |
◆ add()
Add a component to the sequence.
- Parameters
-
| [in] | component | The component to add to the sequence. |
- Returns
- True on success, else false (for example due to component count limit being reached).
◆ beginSubstepGroup()
| PxU8 physx::vehicle2::PxVehicleComponentSequence::beginSubstepGroup |
( |
const PxU8 |
nbSubSteps = 1 | ) |
|
◆ endSubstepGroup()
| PX_FORCE_INLINE void physx::vehicle2::PxVehicleComponentSequence::endSubstepGroup |
( |
| ) |
|
|
inline |
◆ setSubsteps()
| void physx::vehicle2::PxVehicleComponentSequence::setSubsteps |
( |
const PxU8 |
subGroupHandle, |
|
|
const PxU8 |
nbSteps |
|
) |
| |
|
inline |
Set the number of substeps to perform for a specific substepping group.
- Parameters
-
| [in] | subGroupHandle | specifies the substepping group |
| [in] | nbSteps | is the number of times to invoke the sequence of components and groups in the specified substepping group. |
- See also
- beginSubstepGroup()
-
endSubstepGroup()
◆ update()
Update each component in the sequence.
- Note
- If the update method of a component in the sequence returns false, the update process gets aborted.
- Parameters
-
| [in] | dt | is the timestep of the update. The provided value has to be positive. |
| [in] | context | specifies global quantities of the simulation such as gravitational acceleration. |
The documentation for this struct was generated from the following file: