Package physx.extensions
Class PxRevoluteJoint
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.extensions.PxJoint
-
- physx.extensions.PxRevoluteJoint
-
public class PxRevoluteJoint extends PxJoint
-
-
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 protectedPxRevoluteJoint()protectedPxRevoluteJoint(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetAngle()floatgetDriveForceLimit()floatgetDriveGearRatio()floatgetDriveVelocity()floatgetProjectionAngularTolerance()floatgetProjectionLinearTolerance()PxRevoluteJointFlagsgetRevoluteJointFlags()floatgetVelocity()voidsetDriveForceLimit(float limit)voidsetDriveGearRatio(float ratio)voidsetDriveVelocity(float velocity)voidsetDriveVelocity(float velocity, boolean autowake)voidsetLimit(PxJointAngularLimitPair limits)voidsetProjectionAngularTolerance(float tolerance)voidsetProjectionLinearTolerance(float tolerance)voidsetRevoluteJointFlag(int flag, boolean value)voidsetRevoluteJointFlags(PxRevoluteJointFlags flags)static PxRevoluteJointwrapPointer(long address)-
Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, release, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxRevoluteJoint wrapPointer(long address)
-
destroy
public void destroy()
-
getAngle
public float getAngle()
- Returns:
- WebIDL type: float
-
getVelocity
public float getVelocity()
- Returns:
- WebIDL type: float
-
setLimit
public void setLimit(PxJointAngularLimitPair limits)
- Parameters:
limits- WebIDL type:PxJointAngularLimitPair[Const, Ref]
-
setDriveVelocity
public void setDriveVelocity(float velocity)
- Parameters:
velocity- WebIDL type: float
-
setDriveVelocity
public void setDriveVelocity(float velocity, boolean autowake)- Parameters:
velocity- WebIDL type: floatautowake- WebIDL type: boolean
-
getDriveVelocity
public float getDriveVelocity()
- Returns:
- WebIDL type: float
-
setDriveForceLimit
public void setDriveForceLimit(float limit)
- Parameters:
limit- WebIDL type: float
-
getDriveForceLimit
public float getDriveForceLimit()
- Returns:
- WebIDL type: float
-
setDriveGearRatio
public void setDriveGearRatio(float ratio)
- Parameters:
ratio- WebIDL type: float
-
getDriveGearRatio
public float getDriveGearRatio()
- Returns:
- WebIDL type: float
-
setRevoluteJointFlags
public void setRevoluteJointFlags(PxRevoluteJointFlags flags)
- Parameters:
flags- WebIDL type:PxRevoluteJointFlags[Ref]
-
setRevoluteJointFlag
public void setRevoluteJointFlag(int flag, boolean value)- Parameters:
flag- WebIDL type:PxRevoluteJointFlagEnum[enum]value- WebIDL type: boolean
-
getRevoluteJointFlags
public PxRevoluteJointFlags getRevoluteJointFlags()
- Returns:
- WebIDL type:
PxRevoluteJointFlags[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
-
-