29#ifndef PX_ARTICULATION_LINK_H
30#define PX_ARTICULATION_LINK_H
34#include "PxPhysXConfig.h"
35#include "PxRigidBody.h"
195 PX_INLINE PxArticulationLink(PxBaseFlags baseFlags) : PxRigidBody(baseFlags) {}
196 virtual ~PxArticulationLink() {}
A joint between two links in an articulation.
Definition PxArticulationJointReducedCoordinate.h:49
A component of an articulation that represents a rigid body.
Definition PxArticulationLink.h:54
virtual void setCfmScale(const PxReal cfm)=0
Set the constraint-force-mixing scale term.
virtual const char * getConcreteTypeName() const
Returns the string name of the dynamic type.
Definition PxArticulationLink.h:191
virtual PxVec3 getAngularVelocity() const =0
Get the angular velocity of the link.
virtual PxArticulationJointReducedCoordinate * getInboundJoint() const =0
Gets the joint which connects this link to its parent.
virtual PxU32 getInboundJointDof() const =0
Gets the number of degrees of freedom of the joint which connects this link to its parent.
virtual PxU32 getLinkIndex() const =0
Gets the low-level link index that may be used to index into members of PxArticulationCache.
virtual PxReal getCfmScale() const =0
Get the constraint-force-mixing scale term.
virtual PxArticulationReducedCoordinate & getArticulation() const =0
Gets the articulation that the link is a part of.
virtual PxU32 getChildren(PxArticulationLink **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0
Retrieves the child links.
virtual void release()=0
Releases the link from the articulation.
virtual PxVec3 getLinearVelocity() const =0
Get the linear velocity of the link.
virtual PxU32 getNbChildren() const =0
Gets the number of child links.
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxArticulationLink.h:197
A tree structure of bodies connected by joints that is treated as a unit by the dynamics solver....
Definition PxArticulationReducedCoordinate.h:448
PxRigidBody is a base class shared between dynamic rigid body objects.
Definition PxRigidBody.h:199
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxRigidBody.h:702
3 Element vector class.
Definition PxVec3.h:50
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39