APIdia Launch Partner
Top Inners Fields Constructors Methods
com.badlogic.gdx.physics.bullet.dynamics

public Class btWheelInfo

extends BulletBase
Class Inheritance
Imports
com.badlogic.gdx.physics.bullet.BulletBase, com.badlogic.gdx.physics.bullet.linearmath.*, com.badlogic.gdx.physics.bullet.collision.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

AccessConstructor and Description
protected
btWheelInfo(final String className, long cPtr, boolean cMemoryOwn)

public
btWheelInfo(long cPtr, boolean cMemoryOwn)

Construct a new btWheelInfo, normally you should not need this constructor it's intended for low-level usage.

public
public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

public boolean
public float
public btVector3
public long
public float
public static long
public float
public float
public float
public float
public float
public btWheelInfo.RaycastInfo
public float
public float
public float
public float
public float
public float
public float
public float
public btVector3
public btVector3
public float
public float
public float
public float
public btTransform
protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
setBIsFrontWheel(boolean value)

public void
setBrake(float value)

public void
public void
setClientInfo(long value)

public void
public void
setDeltaRotation(float value)

public void
setEngineForce(float value)

public void
setFrictionSlip(float value)

public void
setMaxSuspensionForce(float value)

public void
public void
public void
setRollInfluence(float value)

public void
setRotation(float value)

public void
setSkidInfo(float value)

public void
setSteering(float value)

public void
public void
public void
public void
public void
public void
public void
public void
setWheelsRadius(float value)

public void
public void
public void
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

btWheelInfoback to summary
protected btWheelInfo(final String className, long cPtr, boolean cMemoryOwn)
btWheelInfoback to summary
public btWheelInfo(long cPtr, boolean cMemoryOwn)

Construct a new btWheelInfo, normally you should not need this constructor it's intended for low-level usage.

btWheelInfoback to summary
public btWheelInfo()
btWheelInfoback to summary
public btWheelInfo(btWheelInfoConstructionInfo ci)

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Doc from com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates. Do not call directly, instead use the dispose() method.

Annotations
@Override
finalizeback to summary
protected void finalize() throws Throwable

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Doc from java.lang.Object.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. A subclass overrides the finalize method to dispose of system resources or to perform other cleanup.

When running in a Java virtual machine in which finalization has been disabled or removed, the garbage collector will never call finalize(). In a Java virtual machine in which finalization is enabled, the garbage collector might call finalize only after an indefinite delay.

The general contract of finalize is that it is invoked if and when the Java virtual machine has determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, except as a result of an action taken by the finalization of some other object or class which is ready to be finalized. The finalize method may take any action, including making this object available again to other threads; the usual purpose of finalize, however, is to perform cleanup actions before the object is irrevocably discarded. For example, the finalize method for an object that represents an input/output connection might perform explicit I/O transactions to break the connection before the object is permanently discarded.

The finalize method of class Object performs no special action; it simply returns normally. Subclasses of Object may override this definition.

The Java programming language does not guarantee which thread will invoke the finalize method for any given object. It is guaranteed, however, that the thread that invokes finalize will not be holding any user-visible synchronization locks when finalize is invoked. If an uncaught exception is thrown by the finalize method, the exception is ignored and finalization of that object terminates.

After the finalize method has been invoked for an object, no further action is taken until the Java virtual machine has again determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, including possible actions by other objects or classes which are ready to be finalized, at which point the object may be discarded.

The finalize method is never invoked more than once by a Java virtual machine for any given object.

Any exception thrown by the finalize method causes the finalization of this object to be halted, but is otherwise ignored.

Annotations
@Override
Exceptions
Throwable:
the Exception raised by this method
getBIsFrontWheelback to summary
public boolean getBIsFrontWheel()
getBrakeback to summary
public float getBrake()
getChassisConnectionPointCSback to summary
public btVector3 getChassisConnectionPointCS()
getClientInfoback to summary
public long getClientInfo()
getClippedInvContactDotSuspensionback to summary
public float getClippedInvContactDotSuspension()
getCPtrback to summary
public static long getCPtr(btWheelInfo obj)
getDeltaRotationback to summary
public float getDeltaRotation()
getEngineForceback to summary
public float getEngineForce()
getFrictionSlipback to summary
public float getFrictionSlip()
getMaxSuspensionForceback to summary
public float getMaxSuspensionForce()
getMaxSuspensionTravelCmback to summary
public float getMaxSuspensionTravelCm()
getRaycastInfoback to summary
public btWheelInfo.RaycastInfo getRaycastInfo()
getRollInfluenceback to summary
public float getRollInfluence()
getRotationback to summary
public float getRotation()
getSkidInfoback to summary
public float getSkidInfo()
getSteeringback to summary
public float getSteering()
getSuspensionRelativeVelocityback to summary
public float getSuspensionRelativeVelocity()
getSuspensionRestLengthback to summary
public float getSuspensionRestLength()
getSuspensionRestLength1back to summary
public float getSuspensionRestLength1()
getSuspensionStiffnessback to summary
public float getSuspensionStiffness()
getWheelAxleCSback to summary
public btVector3 getWheelAxleCS()
getWheelDirectionCSback to summary
public btVector3 getWheelDirectionCS()
getWheelsDampingCompressionback to summary
public float getWheelsDampingCompression()
getWheelsDampingRelaxationback to summary
public float getWheelsDampingRelaxation()
getWheelsRadiusback to summary
public float getWheelsRadius()
getWheelsSuspensionForceback to summary
public float getWheelsSuspensionForce()
getWorldTransformback to summary
public btTransform getWorldTransform()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
setBIsFrontWheelback to summary
public void setBIsFrontWheel(boolean value)
setBrakeback to summary
public void setBrake(float value)
setChassisConnectionPointCSback to summary
public void setChassisConnectionPointCS(btVector3 value)
setClientInfoback to summary
public void setClientInfo(long value)
setClippedInvContactDotSuspensionback to summary
public void setClippedInvContactDotSuspension(float value)
setDeltaRotationback to summary
public void setDeltaRotation(float value)
setEngineForceback to summary
public void setEngineForce(float value)
setFrictionSlipback to summary
public void setFrictionSlip(float value)
setMaxSuspensionForceback to summary
public void setMaxSuspensionForce(float value)
setMaxSuspensionTravelCmback to summary
public void setMaxSuspensionTravelCm(float value)
setRaycastInfoback to summary
public void setRaycastInfo(btWheelInfo.RaycastInfo value)
setRollInfluenceback to summary
public void setRollInfluence(float value)
setRotationback to summary
public void setRotation(float value)
setSkidInfoback to summary
public void setSkidInfo(float value)
setSteeringback to summary
public void setSteering(float value)
setSuspensionRelativeVelocityback to summary
public void setSuspensionRelativeVelocity(float value)
setSuspensionRestLength1back to summary
public void setSuspensionRestLength1(float value)
setSuspensionStiffnessback to summary
public void setSuspensionStiffness(float value)
setWheelAxleCSback to summary
public void setWheelAxleCS(btVector3 value)
setWheelDirectionCSback to summary
public void setWheelDirectionCS(btVector3 value)
setWheelsDampingCompressionback to summary
public void setWheelsDampingCompression(float value)
setWheelsDampingRelaxationback to summary
public void setWheelsDampingRelaxation(float value)
setWheelsRadiusback to summary
public void setWheelsRadius(float value)
setWheelsSuspensionForceback to summary
public void setWheelsSuspensionForce(float value)
setWorldTransformback to summary
public void setWorldTransform(btTransform value)
updateWheelback to summary
public void updateWheel(btRigidBody chassis, btWheelInfo.RaycastInfo raycastInfo)
com.badlogic.gdx.physics.bullet.dynamics back to summary

public Class btWheelInfo.RaycastInfo

extends BulletBase
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

AccessConstructor and Description
protected
RaycastInfo(final String className, long cPtr, boolean cMemoryOwn)

public
RaycastInfo(long cPtr, boolean cMemoryOwn)

Construct a new RaycastInfo, normally you should not need this constructor it's intended for low-level usage.

public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

public btVector3
public btVector3
public static long
public long
public btVector3
public boolean
public float
public btVector3
public btVector3
protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
public void
public void
setGroundObject(long value)

public void
public void
setIsInContact(boolean value)

public void
setSuspensionLength(float value)

public void
public void
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

RaycastInfoback to summary
protected RaycastInfo(final String className, long cPtr, boolean cMemoryOwn)
RaycastInfoback to summary
public RaycastInfo(long cPtr, boolean cMemoryOwn)

Construct a new RaycastInfo, normally you should not need this constructor it's intended for low-level usage.

RaycastInfoback to summary
public RaycastInfo()

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Doc from com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates. Do not call directly, instead use the dispose() method.

Annotations
@Override
finalizeback to summary
protected void finalize() throws Throwable

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Doc from java.lang.Object.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. A subclass overrides the finalize method to dispose of system resources or to perform other cleanup.

When running in a Java virtual machine in which finalization has been disabled or removed, the garbage collector will never call finalize(). In a Java virtual machine in which finalization is enabled, the garbage collector might call finalize only after an indefinite delay.

The general contract of finalize is that it is invoked if and when the Java virtual machine has determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, except as a result of an action taken by the finalization of some other object or class which is ready to be finalized. The finalize method may take any action, including making this object available again to other threads; the usual purpose of finalize, however, is to perform cleanup actions before the object is irrevocably discarded. For example, the finalize method for an object that represents an input/output connection might perform explicit I/O transactions to break the connection before the object is permanently discarded.

The finalize method of class Object performs no special action; it simply returns normally. Subclasses of Object may override this definition.

The Java programming language does not guarantee which thread will invoke the finalize method for any given object. It is guaranteed, however, that the thread that invokes finalize will not be holding any user-visible synchronization locks when finalize is invoked. If an uncaught exception is thrown by the finalize method, the exception is ignored and finalization of that object terminates.

After the finalize method has been invoked for an object, no further action is taken until the Java virtual machine has again determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, including possible actions by other objects or classes which are ready to be finalized, at which point the object may be discarded.

The finalize method is never invoked more than once by a Java virtual machine for any given object.

Any exception thrown by the finalize method causes the finalization of this object to be halted, but is otherwise ignored.

Annotations
@Override
Exceptions
Throwable:
the Exception raised by this method
getContactNormalWSback to summary
public btVector3 getContactNormalWS()
getContactPointWSback to summary
public btVector3 getContactPointWS()
getCPtrback to summary
public static long getCPtr(btWheelInfo.RaycastInfo obj)
getGroundObjectback to summary
public long getGroundObject()
getHardPointWSback to summary
public btVector3 getHardPointWS()
getIsInContactback to summary
public boolean getIsInContact()
getSuspensionLengthback to summary
public float getSuspensionLength()
getWheelAxleWSback to summary
public btVector3 getWheelAxleWS()
getWheelDirectionWSback to summary
public btVector3 getWheelDirectionWS()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
setContactNormalWSback to summary
public void setContactNormalWS(btVector3 value)
setContactPointWSback to summary
public void setContactPointWS(btVector3 value)
setGroundObjectback to summary
public void setGroundObject(long value)
setHardPointWSback to summary
public void setHardPointWS(btVector3 value)
setIsInContactback to summary
public void setIsInContact(boolean value)
setSuspensionLengthback to summary
public void setSuspensionLength(float value)
setWheelAxleWSback to summary
public void setWheelAxleWS(btVector3 value)
setWheelDirectionWSback to summary
public void setWheelDirectionWS(btVector3 value)