PxConfigureSoftBodyKinematicTarget

Defined in include/PxSoftBody.h

inline PxVec4 PxConfigureSoftBodyKinematicTarget(const PxVec3 &target, bool isActive)

Sets up a softbody 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