Package physx.physics
Class PxArticulationJoint
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxArticulationJointBase
-
- physx.physics.PxArticulationJoint
-
public class PxArticulationJoint 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 protectedPxArticulationJoint()protectedPxArticulationJoint(long address)
-
Method Summary
-
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 PxArticulationJoint wrapPointer(long address)
-
setTargetOrientation
public void setTargetOrientation(PxQuat orientation)
- Parameters:
orientation- WebIDL type:PxQuat[Const, Ref]
-
setTargetVelocity
public void setTargetVelocity(PxVec3 velocity)
- Parameters:
velocity- WebIDL type:PxVec3[Const, Ref]
-
setDriveType
public void setDriveType(int driveType)
- Parameters:
driveType- WebIDL type:PxArticulationJointDriveTypeEnum[enum]
-
getDriveType
public int getDriveType()
- Returns:
- WebIDL type:
PxArticulationJointDriveTypeEnum[enum]
-
setStiffness
public void setStiffness(float spring)
- Parameters:
spring- WebIDL type: float
-
getStiffness
public float getStiffness()
- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float damping)
- Parameters:
damping- WebIDL type: float
-
getDamping
public float getDamping()
- Returns:
- WebIDL type: float
-
setInternalCompliance
public void setInternalCompliance(float compliance)
- Parameters:
compliance- WebIDL type: float
-
getInternalCompliance
public float getInternalCompliance()
- Returns:
- WebIDL type: float
-
setExternalCompliance
public void setExternalCompliance(float compliance)
- Parameters:
compliance- WebIDL type: float
-
getExternalCompliance
public float getExternalCompliance()
- Returns:
- WebIDL type: float
-
setSwingLimit
public void setSwingLimit(float zLimit, float yLimit)- Parameters:
zLimit- WebIDL type: floatyLimit- WebIDL type: float
-
setTangentialStiffness
public void setTangentialStiffness(float spring)
- Parameters:
spring- WebIDL type: float
-
getTangentialStiffness
public float getTangentialStiffness()
- Returns:
- WebIDL type: float
-
setTangentialDamping
public void setTangentialDamping(float damping)
- Parameters:
damping- WebIDL type: float
-
getTangentialDamping
public float getTangentialDamping()
- Returns:
- WebIDL type: float
-
setSwingLimitContactDistance
public void setSwingLimitContactDistance(float contactDistance)
- Parameters:
contactDistance- WebIDL type: float
-
getSwingLimitContactDistance
public float getSwingLimitContactDistance()
- Returns:
- WebIDL type: float
-
setSwingLimitEnabled
public void setSwingLimitEnabled(boolean enabled)
- Parameters:
enabled- WebIDL type: boolean
-
getSwingLimitEnabled
public boolean getSwingLimitEnabled()
- Returns:
- WebIDL type: boolean
-
setTwistLimit
public void setTwistLimit(float lower, float upper)- Parameters:
lower- WebIDL type: floatupper- WebIDL type: float
-
setTwistLimitEnabled
public void setTwistLimitEnabled(boolean enabled)
- Parameters:
enabled- WebIDL type: boolean
-
getTwistLimitEnabled
public boolean getTwistLimitEnabled()
- Returns:
- WebIDL type: boolean
-
setTwistLimitContactDistance
public void setTwistLimitContactDistance(float contactDistance)
- Parameters:
contactDistance- WebIDL type: float
-
getTwistLimitContactDistance
public float getTwistLimitContactDistance()
- Returns:
- WebIDL type: float
-
-