Package physx.extensions
Class PxSphericalJoint
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.extensions.PxJoint
-
- physx.extensions.PxSphericalJoint
-
public class PxSphericalJoint 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, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxSphericalJoint()protectedPxSphericalJoint(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetProjectionLinearTolerance()PxSphericalJointFlagsgetSphericalJointFlags()floatgetSwingYAngle()floatgetSwingZAngle()voidsetLimitCone(PxJointLimitCone limitCone)voidsetProjectionLinearTolerance(float tolerance)voidsetSphericalJointFlag(int flag, boolean value)voidsetSphericalJointFlags(PxSphericalJointFlags flags)static PxSphericalJointwrapPointer(long address)-
Methods inherited from class physx.extensions.PxJoint
getConstraint, getConstraintFlags, getInvMassScale0, getInvMassScale1, getLocalPose, getName, getRelativeAngularVelocity, getRelativeLinearVelocity, getRelativeTransform, getScene, release, setActors, setBreakForce, setConstraintFlag, setConstraintFlags, setInvMassScale0, setInvMassScale1, setLocalPose, setName
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxSphericalJoint wrapPointer(long address)
-
destroy
public void destroy()
-
setLimitCone
public void setLimitCone(PxJointLimitCone limitCone)
- Parameters:
limitCone- WebIDL type:PxJointLimitCone[Const, Ref]
-
getSwingYAngle
public float getSwingYAngle()
- Returns:
- WebIDL type: float
-
getSwingZAngle
public float getSwingZAngle()
- Returns:
- WebIDL type: float
-
setSphericalJointFlags
public void setSphericalJointFlags(PxSphericalJointFlags flags)
- Parameters:
flags- WebIDL type:PxSphericalJointFlags[Ref]
-
setSphericalJointFlag
public void setSphericalJointFlag(int flag, boolean value)- Parameters:
flag- WebIDL type:PxSphericalJointFlagEnum[enum]value- WebIDL type: boolean
-
getSphericalJointFlags
public PxSphericalJointFlags getSphericalJointFlags()
- Returns:
- WebIDL type:
PxSphericalJointFlags[Value]
-
setProjectionLinearTolerance
public void setProjectionLinearTolerance(float tolerance)
- Parameters:
tolerance- WebIDL type: float
-
getProjectionLinearTolerance
public float getProjectionLinearTolerance()
- Returns:
- WebIDL type: float
-
-