29#ifndef PX_D6_JOINT_CREATE_H
30#define PX_D6_JOINT_CREATE_H
32#include "common/PxPhysXCommonConfig.h"
65PxJoint*
PxD6JointCreate_Fixed(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
bool useD6);
88PxJoint*
PxD6JointCreate_Distance(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
float maxDist,
bool useD6);
115PxJoint*
PxD6JointCreate_Prismatic(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
const PxVec3& axis,
float minLimit,
float maxLimit,
bool useD6);
144PxJoint*
PxD6JointCreate_Revolute(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
const PxVec3& axis,
float minLimit,
float maxLimit,
bool useD6);
177PxJoint*
PxD6JointCreate_Spherical(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
const PxVec3& axis,
float limit1,
float limit2,
bool useD6);
214PxJoint*
PxD6JointCreate_GenericCone(
float& apiroty,
float& apirotz, PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
float minLimit1,
float maxLimit1,
float minLimit2,
float maxLimit2,
bool useD6);
245PxJoint*
PxD6JointCreate_Pyramid(PxPhysics& physics, PxRigidActor* actor0,
const PxVec3& localPos0, PxRigidActor* actor1,
const PxVec3& localPos1,
const PxVec3& axis,
246 float minLimit1,
float maxLimit1,
float minLimit2,
float maxLimit2);
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxJoint * PxD6JointCreate_Spherical(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, const PxVec3 &axis, float limit1, float limit2, bool useD6)
Helper function to create a spherical joint, using either a PxD6Joint or PxSphericalJoint.
Definition ExtD6JointCreate.cpp:188
PxJoint * PxD6JointCreate_GenericCone(float &apiroty, float &apirotz, PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, float minLimit1, float maxLimit1, float minLimit2, float maxLimit2, bool useD6)
Helper function to create a spherical joint, using either a PxD6Joint or PxSphericalJoint.
Definition ExtD6JointCreate.cpp:225
PxJoint * PxD6JointCreate_Pyramid(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, const PxVec3 &axis, float minLimit1, float maxLimit1, float minLimit2, float maxLimit2)
Helper function to create a D6 joint with pyramidal swing limits.
Definition ExtD6JointCreate.cpp:265
PxJoint * PxD6JointCreate_Revolute(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, const PxVec3 &axis, float minLimit, float maxLimit, bool useD6)
Helper function to create a revolute joint, using either a PxD6Joint or PxRevoluteJoint.
Definition ExtD6JointCreate.cpp:154
PxJoint * PxD6JointCreate_Fixed(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, bool useD6)
Helper function to create a fixed joint, using either a PxD6Joint or PxFixedJoint.
Definition ExtD6JointCreate.cpp:81
PxJoint * PxD6JointCreate_Prismatic(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, const PxVec3 &axis, float minLimit, float maxLimit, bool useD6)
Helper function to create a prismatic joint, using either a PxD6Joint or PxPrismaticJoint.
Definition ExtD6JointCreate.cpp:119
PxJoint * PxD6JointCreate_Distance(PxPhysics &physics, PxRigidActor *actor0, const PxVec3 &localPos0, PxRigidActor *actor1, const PxVec3 &localPos1, float maxDist, bool useD6)
Helper function to create a distance joint, using either a PxD6Joint or PxDistanceJoint.
Definition ExtD6JointCreate.cpp:92