java.lang.Object
physx.NativeObject
physx.common.PxTolerancesScale
Class to define the scale at which simulation runs. Most simulation tolerances are
calculated in terms of the values here.
Note: if you change the simulation scale, you will probably also wish to change the scene's default value of gravity, and stable simulation will probably require changes to the scene's bounceThreshold also.
-
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
ConstructorsModifierConstructorDescriptionconstructor sets to defaultprotectedPxTolerancesScale(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxTolerancesScalearrayGet(long baseAddress, int index) voiddestroy()static PxTolerancesScalewrapPointer(long address) Methods 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
-
PxTolerancesScale
protected PxTolerancesScale(long address) -
PxTolerancesScale
public PxTolerancesScale()constructor sets to default
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()
-