java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.extensions.PxJoint
physx.extensions.PxRevoluteJoint
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxRevoluteJointarrayGet(long baseAddress, int index) voiddestroy()floatgetAngle()floatfloatfloatfloatvoidsetDriveForceLimit(float limit) voidsetDriveGearRatio(float ratio) voidsetDriveVelocity(float velocity) voidsetDriveVelocity(float velocity, boolean autowake) voidsetLimit(PxJointAngularLimitPair limits) voidsetRevoluteJointFlag(PxRevoluteJointFlagEnum flag, boolean value) voidstatic PxRevoluteJointwrapPointer(long address) Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, getUserData, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName, setUserDataMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxRevoluteJoint
protected PxRevoluteJoint() -
PxRevoluteJoint
protected PxRevoluteJoint(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getAngle
public float getAngle()- Returns:
- WebIDL type: float
-
getVelocity
public float getVelocity()- Returns:
- WebIDL type: float
-
setLimit
- 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
- Parameters:
flags- WebIDL type:PxRevoluteJointFlags[Ref]
-
setRevoluteJointFlag
- Parameters:
flag- WebIDL type:PxRevoluteJointFlagEnum[enum]value- WebIDL type: boolean
-
getRevoluteJointFlags
- Returns:
- WebIDL type:
PxRevoluteJointFlags[Value]
-