|
| virtual void | release ()=0 |
| | Releases the link from the articulation.
|
| |
| virtual PxArticulationReducedCoordinate & | getArticulation () const =0 |
| | Gets the articulation that the link is a part of.
|
| |
| 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 | getNbChildren () const =0 |
| | Gets the number of child links.
|
| |
| virtual PxU32 | getLinkIndex () const =0 |
| | Gets the low-level link index that may be used to index into members of PxArticulationCache.
|
| |
| virtual PxU32 | getChildren (PxArticulationLink **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0 |
| | Retrieves the child links.
|
| |
| virtual void | setCfmScale (const PxReal cfm)=0 |
| | Set the constraint-force-mixing scale term.
|
| |
| virtual PxReal | getCfmScale () const =0 |
| | Get the constraint-force-mixing scale term.
|
| |
| virtual PxVec3 | getLinearVelocity () const =0 |
| | Get the linear velocity of the link.
|
| |
| virtual PxVec3 | getAngularVelocity () const =0 |
| | Get the angular velocity of the link.
|
| |
| virtual const char * | getConcreteTypeName () const |
| | Returns the string name of the dynamic type.
|
| |
Public Member Functions inherited from physx::PxRigidBody |
| virtual void | setCMassLocalPose (const PxTransform &pose)=0 |
| | Sets the pose of the center of mass relative to the actor.
|
| |
| virtual PxTransform | getCMassLocalPose () const =0 |
| | Retrieves the center of mass pose relative to the actor frame.
|
| |
| virtual void | setMass (PxReal mass)=0 |
| | Sets the mass of a dynamic actor.
|
| |
| virtual PxReal | getMass () const =0 |
| | Retrieves the mass of the actor.
|
| |
| virtual PxReal | getInvMass () const =0 |
| | Retrieves the inverse mass of the actor.
|
| |
| virtual void | setMassSpaceInertiaTensor (const PxVec3 &m)=0 |
| | Sets the inertia tensor, using a parameter specified in mass space coordinates.
|
| |
| virtual PxVec3 | getMassSpaceInertiaTensor () const =0 |
| | Retrieves the diagonal inertia tensor of the actor relative to the mass coordinate frame.
|
| |
| virtual PxVec3 | getMassSpaceInvInertiaTensor () const =0 |
| | Retrieves the diagonal inverse inertia tensor of the actor relative to the mass coordinate frame.
|
| |
| virtual void | setLinearDamping (PxReal linDamp)=0 |
| | Sets the linear damping coefficient.
|
| |
| virtual PxReal | getLinearDamping () const =0 |
| | Retrieves the linear damping coefficient.
|
| |
| virtual void | setAngularDamping (PxReal angDamp)=0 |
| | Sets the angular damping coefficient.
|
| |
| virtual PxReal | getAngularDamping () const =0 |
| | Retrieves the angular damping coefficient.
|
| |
| virtual void | setMaxLinearVelocity (PxReal maxLinVel)=0 |
| | Lets you set the maximum linear velocity permitted for this actor.
|
| |
| virtual PxReal | getMaxLinearVelocity () const =0 |
| | Retrieves the maximum angular velocity permitted for this actor.
|
| |
| virtual void | setMaxAngularVelocity (PxReal maxAngVel)=0 |
| | Lets you set the maximum angular velocity permitted for this actor.
|
| |
| virtual PxReal | getMaxAngularVelocity () const =0 |
| | Retrieves the maximum angular velocity permitted for this actor.
|
| |
| virtual void | addForce (const PxVec3 &force, PxForceMode::Enum mode=PxForceMode::eFORCE, bool autowake=true)=0 |
| | Applies a force (or impulse) defined in the global coordinate frame to the actor at its center of mass.
|
| |
| virtual void | addTorque (const PxVec3 &torque, PxForceMode::Enum mode=PxForceMode::eFORCE, bool autowake=true)=0 |
| | Applies an impulsive torque defined in the global coordinate frame to the actor.
|
| |
| virtual void | clearForce (PxForceMode::Enum mode=PxForceMode::eFORCE)=0 |
| | Clears the accumulated forces (sets the accumulated force back to zero).
|
| |
| virtual void | clearTorque (PxForceMode::Enum mode=PxForceMode::eFORCE)=0 |
| | Clears the impulsive torque defined in the global coordinate frame to the actor.
|
| |
| virtual void | setForceAndTorque (const PxVec3 &force, const PxVec3 &torque, PxForceMode::Enum mode=PxForceMode::eFORCE)=0 |
| | Sets the impulsive force and torque defined in the global coordinate frame to the actor.
|
| |
| virtual void | setRigidBodyFlag (PxRigidBodyFlag::Enum flag, bool value)=0 |
| | Raises or clears a particular rigid body flag.
|
| |
|
virtual void | setRigidBodyFlags (PxRigidBodyFlags inFlags)=0 |
| |
| virtual PxRigidBodyFlags | getRigidBodyFlags () const =0 |
| | Reads the PxRigidBody flags.
|
| |
| virtual void | setMinCCDAdvanceCoefficient (PxReal advanceCoefficient)=0 |
| | Sets the CCD minimum advance coefficient.
|
| |
| virtual PxReal | getMinCCDAdvanceCoefficient () const =0 |
| | Gets the CCD minimum advance coefficient.
|
| |
| virtual void | setMaxDepenetrationVelocity (PxReal biasClamp)=0 |
| | Sets the maximum depenetration velocity permitted to be introduced by the solver. This value controls how much velocity the solver can introduce to correct for penetrations in contacts.
|
| |
| virtual PxReal | getMaxDepenetrationVelocity () const =0 |
| | Returns the maximum depenetration velocity the solver is permitted to introduced. This value controls how much velocity the solver can introduce to correct for penetrations in contacts.
|
| |
| virtual void | setMaxContactImpulse (PxReal maxImpulse)=0 |
| | Sets a limit on the impulse that may be applied at a contact. The maximum impulse at a contact between two dynamic or kinematic bodies will be the minimum of the two limit values. For a collision between a static and a dynamic body, the impulse is limited by the value for the dynamic body.
|
| |
| virtual PxReal | getMaxContactImpulse () const =0 |
| | Returns the maximum impulse that may be applied at a contact.
|
| |
| virtual void | setContactSlopCoefficient (PxReal slopCoefficient)=0 |
| | Sets a distance scale whereby the angular influence of a contact on the normal constraint in a contact is zeroed if normal.cross(offset) falls below this tolerance. Rather than acting as an absolute value, this tolerance is scaled by the ratio rXn.dot(angVel)/normal.dot(linVel) such that contacts that have relatively larger angular velocity than linear normal velocity (e.g. rolling wheels) achieve larger slop values as the angular velocity increases.
|
| |
| virtual PxReal | getContactSlopCoefficient () const =0 |
| | Returns the contact slop coefficient.
|
| |
| virtual PxNodeIndex | getInternalIslandNodeIndex () const =0 |
| | Returns the island node index.
|
| |
| virtual PxU32 | getInternalActorIndex () const =0 |
| | Returns the internal actor index.
|
| |
| virtual PxTransform | getGlobalPose () const =0 |
| | Retrieves the actors world space transform.
|
| |
| virtual void | setGlobalPose (const PxTransform &pose, bool autowake=true)=0 |
| | Method for setting an actor's pose in the world.
|
| |
| virtual bool | attachShape (PxShape &shape)=0 |
| | Attach a shape to an actor.
|
| |
| virtual void | detachShape (PxShape &shape, bool wakeOnLostTouch=true)=0 |
| | Detach a shape from an actor.
|
| |
| virtual PxU32 | getNbShapes () const =0 |
| | Returns the number of shapes assigned to the actor.
|
| |
| virtual PxU32 | getShapes (PxShape **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0 |
| | Retrieve all the shape pointers belonging to the actor.
|
| |
| virtual PxU32 | getNbConstraints () const =0 |
| | Returns the number of constraint shaders attached to the actor.
|
| |
| virtual PxU32 | getConstraints (PxConstraint **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0 |
| | Retrieve all the constraint shader pointers belonging to the actor.
|
| |
| virtual PxActorType::Enum | getType () const =0 |
| | Retrieves the type of actor.
|
| |
| virtual PxScene * | getScene () const =0 |
| | Retrieves the scene which this actor belongs to.
|
| |
| virtual void | setName (const char *name)=0 |
| | Sets a name string for the object that can be retrieved with getName().
|
| |
| virtual const char * | getName () const =0 |
| | Retrieves the name string set with setName().
|
| |
| virtual PxBounds3 | getWorldBounds (float inflation=1.01f) const =0 |
| | Retrieves the axis aligned bounding box enclosing the actor.
|
| |
| virtual void | setActorFlag (PxActorFlag::Enum flag, bool value)=0 |
| | Raises or clears a particular actor flag.
|
| |
| virtual void | setActorFlags (PxActorFlags inFlags)=0 |
| | Sets the actor flags.
|
| |
| virtual PxActorFlags | getActorFlags () const =0 |
| | Reads the PxActor flags.
|
| |
| virtual void | setDominanceGroup (PxDominanceGroup dominanceGroup)=0 |
| | Assigns dynamic actors a dominance group identifier.
|
| |
| virtual PxDominanceGroup | getDominanceGroup () const =0 |
| | Retrieves the value set with setDominanceGroup().
|
| |
| virtual void | setOwnerClient (PxClientID inClient)=0 |
| | Sets the owner client of an actor.
|
| |
| virtual PxClientID | getOwnerClient () const =0 |
| | Returns the owner client that was specified at creation time.
|
| |
| virtual PxAggregate * | getAggregate () const =0 |
| | Retrieves the aggregate the actor might be a part of.
|
| |
|
template<class T > |
| T * | is () |
| |
|
template<class T > |
| const T * | is () const |
| |
| PX_FORCE_INLINE PxType | getConcreteType () const |
| | Returns concrete type of object.
|
| |
| PX_FORCE_INLINE void | setBaseFlag (PxBaseFlag::Enum flag, bool value) |
| | Set PxBaseFlag
|
| |
| PX_FORCE_INLINE void | setBaseFlags (PxBaseFlags inFlags) |
| | Set PxBaseFlags
|
| |
| PX_FORCE_INLINE PxBaseFlags | getBaseFlags () const |
| | Returns PxBaseFlags.
|
| |
| virtual bool | isReleasable () const |
| | Whether the object is subordinate.
|
| |
A component of an articulation that represents a rigid body.
Articulation links have a restricted subset of the functionality of a PxRigidDynamic:
- They may not be kinematic, and do not support contact-force thresholds.
- Their velocity or global pose cannot be set directly, but must be set via the articulation-root and joint positions/velocities.
- Sleep state and solver iteration counts are properties of the entire articulation rather than the individual links.
- See also
- PxArticulationReducedCoordinate, PxArticulationReducedCoordinate::createLink, PxArticulationJointReducedCoordinate, PxRigidBody