PxConfigureDeformableVolumeKinematicTarget
Defined in include/PxDeformableVolume.h
-
inline PxVec4 PxConfigureDeformableVolumeKinematicTarget(const PxVec4 &target, bool isActive)
Adjusts a deformable volume kinematic target such that it is properly set as active or inactive.
Inactive targets will not affect vertex position, they are ignored by the solver.
- Parameters
target – [in] The kinematic target
isActive – [in] A boolean indicating if the returned target should be marked as active or not
- Returns
The target with adjusted w component