java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.extensions.PxJoint
physx.extensions.PxD6Joint
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxD6JointarrayGet(long baseAddress, int index) voiddestroy()getDrive(PxD6DriveEnum index) voidgetDriveVelocity(PxVec3 linear, PxVec3 angular) getMotion(PxD6AxisEnum axis) floatfloatfloatvoidvoidsetDrive(PxD6DriveEnum index, PxD6JointDrive drive) voidsetDrivePosition(PxTransform pose) voidsetDrivePosition(PxTransform pose, boolean autowake) voidsetDriveVelocity(PxVec3 linear, PxVec3 angular) voidsetLinearLimit(PxD6AxisEnum axis, PxJointLinearLimitPair limit) voidsetMotion(PxD6AxisEnum axis, PxD6MotionEnum type) voidvoidsetSwingLimit(PxJointLimitCone limit) voidstatic PxD6JointwrapPointer(long address) Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, getUserData, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName, setUserDataMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxD6Joint
protected PxD6Joint() -
PxD6Joint
protected PxD6Joint(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
setMotion
- Parameters:
axis- WebIDL type:PxD6AxisEnum[enum]type- WebIDL type:PxD6MotionEnum[enum]
-
getMotion
- Parameters:
axis- WebIDL type:PxD6AxisEnum[enum]- Returns:
- WebIDL type:
PxD6MotionEnum[enum]
-
getTwistAngle
public float getTwistAngle()- Returns:
- WebIDL type: float
-
getSwingYAngle
public float getSwingYAngle()- Returns:
- WebIDL type: float
-
getSwingZAngle
public float getSwingZAngle()- Returns:
- WebIDL type: float
-
setDistanceLimit
- Parameters:
limit- WebIDL type:PxJointLinearLimit[Const, Ref]
-
setLinearLimit
- Parameters:
axis- WebIDL type:PxD6AxisEnum[enum]limit- WebIDL type:PxJointLinearLimitPair[Const, Ref]
-
setTwistLimit
- Parameters:
limit- WebIDL type:PxJointAngularLimitPair[Const, Ref]
-
setSwingLimit
- Parameters:
limit- WebIDL type:PxJointLimitCone[Const, Ref]
-
setPyramidSwingLimit
- Parameters:
limit- WebIDL type:PxJointLimitPyramid[Const, Ref]
-
setDrive
- Parameters:
index- WebIDL type:PxD6DriveEnum[enum]drive- WebIDL type:PxD6JointDrive[Const, Ref]
-
getDrive
- Parameters:
index- WebIDL type:PxD6DriveEnum[enum]- Returns:
- WebIDL type:
PxD6JointDrive[Value]
-
setDrivePosition
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]
-
setDrivePosition
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]autowake- WebIDL type: boolean
-
getDrivePosition
- Returns:
- WebIDL type:
PxTransform[Value]
-
setDriveVelocity
-
getDriveVelocity
-