Package physx.physics
Class PxArticulationJointReducedCoordinate
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxArticulationJointBase
-
- physx.physics.PxArticulationJointReducedCoordinate
-
public class PxArticulationJointReducedCoordinate extends PxArticulationJointBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxArticulationJointReducedCoordinate()protectedPxArticulationJointReducedCoordinate(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetDriveTarget(int axis)floatgetDriveVelocity(int axis)floatgetFrictionCoefficient()intgetJointType()floatgetMaxJointVelocity()intgetMotion(int axis)voidsetDrive(int axis, float stiffness, float damping, float maxForce)voidsetDrive(int axis, float stiffness, float damping, float maxForce, int driveType)voidsetDriveTarget(int axis, float target)voidsetDriveVelocity(int axis, float targetVel)voidsetFrictionCoefficient(float coefficient)voidsetJointType(int jointType)voidsetLimit(int axis, float lowLimit, float highLimit)voidsetMaxJointVelocity(float maxJointV)voidsetMotion(int axis, int motion)static PxArticulationJointReducedCoordinatewrapPointer(long address)-
Methods inherited from class physx.physics.PxArticulationJointBase
getChildArticulationLink, getChildPose, getParentArticulationLink, getParentPose, setChildPose, setParentPose
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxArticulationJointReducedCoordinate wrapPointer(long address)
-
setJointType
public void setJointType(int jointType)
- Parameters:
jointType- WebIDL type:PxArticulationJointTypeEnum[enum]
-
getJointType
public int getJointType()
- Returns:
- WebIDL type:
PxArticulationJointTypeEnum[enum]
-
setMotion
public void setMotion(int axis, int motion)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]motion- WebIDL type:PxArticulationMotionEnum[enum]
-
getMotion
public int getMotion(int axis)
- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]- Returns:
- WebIDL type:
PxArticulationMotionEnum[enum]
-
setLimit
public void setLimit(int axis, float lowLimit, float highLimit)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]lowLimit- WebIDL type: floathighLimit- WebIDL type: float
-
setDrive
public void setDrive(int axis, float stiffness, float damping, float maxForce)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]stiffness- WebIDL type: floatdamping- WebIDL type: floatmaxForce- WebIDL type: float
-
setDrive
public void setDrive(int axis, float stiffness, float damping, float maxForce, int driveType)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]stiffness- WebIDL type: floatdamping- WebIDL type: floatmaxForce- WebIDL type: floatdriveType- WebIDL type:PxArticulationDriveTypeEnum[enum]
-
setDriveTarget
public void setDriveTarget(int axis, float target)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]target- WebIDL type: float
-
setDriveVelocity
public void setDriveVelocity(int axis, float targetVel)- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]targetVel- WebIDL type: float
-
getDriveTarget
public float getDriveTarget(int axis)
- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]- Returns:
- WebIDL type: float
-
getDriveVelocity
public float getDriveVelocity(int axis)
- Parameters:
axis- WebIDL type:PxArticulationAxisEnum[enum]- Returns:
- WebIDL type: float
-
setFrictionCoefficient
public void setFrictionCoefficient(float coefficient)
- Parameters:
coefficient- WebIDL type: float
-
getFrictionCoefficient
public float getFrictionCoefficient()
- Returns:
- WebIDL type: float
-
setMaxJointVelocity
public void setMaxJointVelocity(float maxJointV)
- Parameters:
maxJointV- WebIDL type: float
-
getMaxJointVelocity
public float getMaxJointVelocity()
- Returns:
- WebIDL type: float
-
-