PxAddArticulationLink
Defined in include/PxImmediateMode.h
-
PxArticulationLinkCookie PxAddArticulationLink(PxArticulationCookie articulation, const PxArticulationLinkCookie *parent, const PxArticulationLinkDataRC &data)
Add a link to the articulation.
All links must be added before the articulation is completed. It is not possible to add a new link at runtime.
Returned cookie is a temporary ID for the link, only valid until PxEndCreateArticulationRC is called.
- Parameters
articulation – [in] Cookie value returned by PxBeginCreateArticulationRC
parent – [in] Parent for the new link, or NULL if this is the root link
data – [in] Link data
- Returns
Link cookie