Package physx.extensions
Class PxD6Joint
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.PxD6Joint
-
public class PxD6Joint extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Method Summary
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxD6Joint wrapPointer(long address)
-
destroy
public void destroy()
-
setMotion
public void setMotion(int axis, int type)- Parameters:
axis- WebIDL type:PxD6AxisEnum[enum]type- WebIDL type:PxD6MotionEnum[enum]
-
getMotion
public int getMotion(int axis)
- 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
public void setDistanceLimit(PxJointLinearLimit limit)
- Parameters:
limit- WebIDL type:PxJointLinearLimit[Const, Ref]
-
setLinearLimit
public void setLinearLimit(int axis, PxJointLinearLimitPair limit)- Parameters:
axis- WebIDL type:PxD6AxisEnum[enum]limit- WebIDL type:PxJointLinearLimitPair[Const, Ref]
-
setTwistLimit
public void setTwistLimit(PxJointAngularLimitPair limit)
- Parameters:
limit- WebIDL type:PxJointAngularLimitPair[Const, Ref]
-
setSwingLimit
public void setSwingLimit(PxJointLimitCone limit)
- Parameters:
limit- WebIDL type:PxJointLimitCone[Const, Ref]
-
setPyramidSwingLimit
public void setPyramidSwingLimit(PxJointLimitPyramid limit)
- Parameters:
limit- WebIDL type:PxJointLimitPyramid[Const, Ref]
-
setDrive
public void setDrive(int index, PxD6JointDrive drive)- Parameters:
index- WebIDL type:PxD6DriveEnum[enum]drive- WebIDL type:PxD6JointDrive[Const, Ref]
-
getDrive
public PxD6JointDrive getDrive(int index)
- Parameters:
index- WebIDL type:PxD6DriveEnum[enum]- Returns:
- WebIDL type:
PxD6JointDrive[Value]
-
setDrivePosition
public void setDrivePosition(PxTransform pose)
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]
-
setDrivePosition
public void setDrivePosition(PxTransform pose, boolean autowake)
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]autowake- WebIDL type: boolean
-
getDrivePosition
public PxTransform getDrivePosition()
- Returns:
- WebIDL type:
PxTransform[Value]
-
setProjectionLinearTolerance
public void setProjectionLinearTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getProjectionLinearTolerance
public float getProjectionLinearTolerance()
- Returns:
- WebIDL type: float
-
setProjectionAngularTolerance
public void setProjectionAngularTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getProjectionAngularTolerance
public float getProjectionAngularTolerance()
- Returns:
- WebIDL type: float
-
-