PxConeLimitedConstraint

Defined in include/PxConeLimitedConstraint.h

struct PxConeLimitedConstraint

A constraint descriptor for limiting movement to a conical region.

Public Functions

inline PxConeLimitedConstraint()
inline void setToDefault()

Set values such that constraint is disabled.

inline bool isValid() const

Checks for valitity.

Returns

true if the constaint is valid

Public Members

PxVec3 mAxis

Axis of the cone in actor space.

PxReal mAngle

Opening angle in radians, negative indicates unlimited.

PxReal mLowLimit

Minimum distance, negative indicates unlimited.

PxReal mHighLimit

Maximum distance, negative indicates unlimited.