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, isStackAllocated
-
-
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()floatgetDriveForceLimit()floatgetDriveGearRatio()floatgetDriveVelocity()PxRevoluteJointFlagsgetRevoluteJointFlags()voidsetDriveForceLimit(float limit)voidsetDriveGearRatio(float ratio)voidsetDriveVelocity(float velocity)voidsetDriveVelocity(float velocity, boolean autowake)voidsetRevoluteJointFlag(int flag, boolean value)voidsetRevoluteJointFlags(PxRevoluteJointFlags flags)static PxRevoluteJointwrapPointer(long address)-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxRevoluteJoint wrapPointer(long address)
-
destroy
public void destroy()
-
setDriveVelocity
public void setDriveVelocity(float velocity)
- Parameters:
velocity- float
-
setDriveVelocity
public void setDriveVelocity(float velocity, boolean autowake)- Parameters:
velocity- floatautowake- boolean
-
getDriveVelocity
public float getDriveVelocity()
- Returns:
- float
-
setDriveForceLimit
public void setDriveForceLimit(float limit)
- Parameters:
limit- float
-
getDriveForceLimit
public float getDriveForceLimit()
- Returns:
- float
-
setDriveGearRatio
public void setDriveGearRatio(float ratio)
- Parameters:
ratio- float
-
getDriveGearRatio
public float getDriveGearRatio()
- Returns:
- float
-
setRevoluteJointFlags
public void setRevoluteJointFlags(PxRevoluteJointFlags flags)
- Parameters:
flags-PxRevoluteJointFlags[Ref]
-
setRevoluteJointFlag
public void setRevoluteJointFlag(int flag, boolean value)- Parameters:
flag-PxRevoluteJointFlagEnum[enum]value- boolean
-
getRevoluteJointFlags
public PxRevoluteJointFlags getRevoluteJointFlags()
- Returns:
PxRevoluteJointFlags[Value]
-
-