29#ifndef EXT_PRISMATIC_JOINT_H
30#define EXT_PRISMATIC_JOINT_H
32#include "common/PxTolerancesScale.h"
33#include "extensions/PxPrismaticJoint.h"
53 PxReal projectionLinearTolerance;
54 PxReal projectionAngularTolerance;
81 virtual PxReal getPosition()
const PX_OVERRIDE {
return getRelativeTransform().p.x; }
82 virtual PxReal getVelocity()
const PX_OVERRIDE {
return getRelativeLinearVelocity().x; }
86 virtual void setPrismaticJointFlag(PxPrismaticJointFlag::Enum flag,
bool value)
PX_OVERRIDE;
88 virtual void setProjectionLinearTolerance(PxReal tolerance)
PX_OVERRIDE;
89 virtual PxReal getProjectionLinearTolerance()
const PX_OVERRIDE;
90 virtual void setProjectionAngularTolerance(PxReal tolerance)
PX_OVERRIDE;
91 virtual PxReal getProjectionAngularTolerance()
const PX_OVERRIDE;
96#if PX_SUPPORT_OMNI_PVD
Definition ExtJoint.h:105
virtual void updateOmniPvdProperties() const PX_OVERRIDE
this function is called by the SDK to update OmniPVD's view of it
Definition ExtJoint.h:183
Definition ExtPrismaticJoint.h:65
virtual PxConstraintSolverPrep getPrep() const PX_OVERRIDE
Obtain the shader function pointer used to prep rows for this constraint.
Definition ExtPrismaticJoint.cpp:208
Binary deserialization context class.
Definition PxSerialFramework.h:174
Describes a two-sided limit.
Definition PxJointLimit.h:230
Output stream class for I/O.
Definition PxIO.h:114
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition PxRigidActor.h:53
Class to define the scale at which simulation runs. Most simulation tolerances are calculated in term...
Definition PxTolerancesScale.h:53
#define PX_OVERRIDE
Definition PxPreprocessor.h:375
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxU32(* PxConstraintSolverPrep)(Px1DConstraint *constraints, PxVec3p &bodyAWorldOffset, PxU32 maxConstraints, PxConstraintInvMassScale &invMassScale, const void *constantBlock, const PxTransform &bodyAToWorld, const PxTransform &bodyBToWorld, bool useExtendedLimits, PxVec3p &cAtW, PxVec3p &cBtW)
Solver constraint generation shader.
Definition PxConstraintDesc.h:223
Definition PxExtensionAutoGeneratedMetaDataObjects.h:631
Definition ExtJointData.h:39
Definition ExtPrismaticJoint.h:44