public class PxD6Joint extends PxJoint
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxD6Joint() |
protected |
PxD6Joint(long address) |
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, getUserData, release, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName, setUserDatagetBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodepublic static PxD6Joint wrapPointer(long address)
public void destroy()
public void setMotion(int axis,
int type)
axis - WebIDL type: PxD6AxisEnum [enum]type - WebIDL type: PxD6MotionEnum [enum]public int getMotion(int axis)
axis - WebIDL type: PxD6AxisEnum [enum]PxD6MotionEnum [enum]public float getTwistAngle()
public float getSwingYAngle()
public float getSwingZAngle()
public void setDistanceLimit(PxJointLinearLimit limit)
limit - WebIDL type: PxJointLinearLimit [Const, Ref]public void setLinearLimit(int axis,
PxJointLinearLimitPair limit)
axis - WebIDL type: PxD6AxisEnum [enum]limit - WebIDL type: PxJointLinearLimitPair [Const, Ref]public void setTwistLimit(PxJointAngularLimitPair limit)
limit - WebIDL type: PxJointAngularLimitPair [Const, Ref]public void setSwingLimit(PxJointLimitCone limit)
limit - WebIDL type: PxJointLimitCone [Const, Ref]public void setPyramidSwingLimit(PxJointLimitPyramid limit)
limit - WebIDL type: PxJointLimitPyramid [Const, Ref]public void setDrive(int index,
PxD6JointDrive drive)
index - WebIDL type: PxD6DriveEnum [enum]drive - WebIDL type: PxD6JointDrive [Const, Ref]public PxD6JointDrive getDrive(int index)
index - WebIDL type: PxD6DriveEnum [enum]PxD6JointDrive [Value]public void setDrivePosition(PxTransform pose)
pose - WebIDL type: PxTransform [Const, Ref]public void setDrivePosition(PxTransform pose, boolean autowake)
pose - WebIDL type: PxTransform [Const, Ref]autowake - WebIDL type: booleanpublic PxTransform getDrivePosition()
PxTransform [Value]public void setProjectionLinearTolerance(float tolerance)
tolerance - WebIDL type: floatpublic float getProjectionLinearTolerance()
public void setProjectionAngularTolerance(float tolerance)
tolerance - WebIDL type: floatpublic float getProjectionAngularTolerance()