Package physx.physics
Class PxArticulation
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxArticulationBase
-
- physx.physics.PxArticulation
-
public class PxArticulation extends PxArticulationBase
-
-
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 protectedPxArticulation()protectedPxArticulation(long address)
-
Method Summary
-
Methods inherited from class physx.physics.PxArticulationBase
createLink, getAggregate, getName, getNbLinks, getScene, getSleepThreshold, getStabilizationThreshold, getWakeCounter, getWorldBounds, isSleeping, putToSleep, setName, setSleepThreshold, setSolverIterationCounts, setStabilizationThreshold, setWakeCounter, wakeUp
-
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 PxArticulation wrapPointer(long address)
-
setMaxProjectionIterations
public void setMaxProjectionIterations(int iterations)
- Parameters:
iterations- WebIDL type: unsigned long
-
getMaxProjectionIterations
public int getMaxProjectionIterations()
- Returns:
- WebIDL type: unsigned long
-
setSeparationTolerance
public void setSeparationTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getSeparationTolerance
public float getSeparationTolerance()
- Returns:
- WebIDL type: float
-
setInternalDriveIterations
public void setInternalDriveIterations(int iterations)
- Parameters:
iterations- WebIDL type: unsigned long
-
getInternalDriveIterations
public int getInternalDriveIterations()
- Returns:
- WebIDL type: unsigned long
-
setExternalDriveIterations
public void setExternalDriveIterations(int iterations)
- Parameters:
iterations- WebIDL type: unsigned long
-
getExternalDriveIterations
public int getExternalDriveIterations()
- Returns:
- WebIDL type: unsigned long
-
createDriveCache
public PxArticulationDriveCache createDriveCache(float compliance, int driveIterations)
- Parameters:
compliance- WebIDL type: floatdriveIterations- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxArticulationDriveCache
-
updateDriveCache
public void updateDriveCache(PxArticulationDriveCache driveCache, float compliance, int driveIterations)
- Parameters:
driveCache- WebIDL type:PxArticulationDriveCache[Ref]compliance- WebIDL type: floatdriveIterations- WebIDL type: unsigned long
-
releaseDriveCache
public void releaseDriveCache(PxArticulationDriveCache driveCache)
- Parameters:
driveCache- WebIDL type:PxArticulationDriveCache[Ref]
-
applyImpulse
public void applyImpulse(PxArticulationLink link, PxArticulationDriveCache driveCache, PxVec3 linearImpulse, PxVec3 angularImpulse)
- Parameters:
link- WebIDL type:PxArticulationLinkdriveCache- WebIDL type:PxArticulationDriveCache[Const, Ref]linearImpulse- WebIDL type:PxVec3[Const, Ref]angularImpulse- WebIDL type:PxVec3[Const, Ref]
-
computeImpulseResponse
public void computeImpulseResponse(PxArticulationLink link, PxVec3 linearResponse, PxVec3 angularResponse, PxArticulationDriveCache driveCache, PxVec3 linearImpulse, PxVec3 angularImpulse)
- Parameters:
link- WebIDL type:PxArticulationLinklinearResponse- WebIDL type:PxVec3[Ref]angularResponse- WebIDL type:PxVec3[Ref]driveCache- WebIDL type:PxArticulationDriveCache[Const, Ref]linearImpulse- WebIDL type:PxVec3[Const, Ref]angularImpulse- WebIDL type:PxVec3[Const, Ref]
-
-