Package physx.extensions
Class PxD6JointDrive
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.PxSpring
-
- physx.extensions.PxD6JointDrive
-
public class PxD6JointDrive extends PxSpring
-
-
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 PxD6JointDrive()PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit)PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit, boolean isAcceleration)protectedPxD6JointDrive(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()PxD6JointDriveFlagsgetFlags()floatgetForceLimit()voidsetFlags(PxD6JointDriveFlags value)voidsetForceLimit(float value)static PxD6JointDrivewrapPointer(long address)-
Methods inherited from class physx.extensions.PxSpring
getDamping, getStiffness, setDamping, setStiffness
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Constructor Detail
-
PxD6JointDrive
protected PxD6JointDrive(long address)
-
PxD6JointDrive
public PxD6JointDrive()
-
PxD6JointDrive
public PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit)- Parameters:
driveStiffness- WebIDL type: floatdriveDamping- WebIDL type: floatdriveForceLimit- WebIDL type: float
-
PxD6JointDrive
public PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit, boolean isAcceleration)- Parameters:
driveStiffness- WebIDL type: floatdriveDamping- WebIDL type: floatdriveForceLimit- WebIDL type: floatisAcceleration- WebIDL type: boolean
-
-
Method Detail
-
wrapPointer
public static PxD6JointDrive wrapPointer(long address)
-
getForceLimit
public float getForceLimit()
- Returns:
- WebIDL type: float
-
setForceLimit
public void setForceLimit(float value)
- Parameters:
value- WebIDL type: float
-
getFlags
public PxD6JointDriveFlags getFlags()
- Returns:
- WebIDL type:
PxD6JointDriveFlags[Value]
-
setFlags
public void setFlags(PxD6JointDriveFlags value)
- Parameters:
value- WebIDL type:PxD6JointDriveFlags[Value]
-
-