PxConfigureDeformableVolumeKinematicTarget#

Defined in include/PxDeformableVolume.h

inline PxVec4 PxConfigureDeformableVolumeKinematicTarget(
const PxVec3 &target,
bool isActive,
)#

Sets up 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 configured w component