com.bulletphysics.dynamics.vehicle
Class WheelInfo

java.lang.Object
  extended by com.bulletphysics.dynamics.vehicle.WheelInfo

public class WheelInfo
extends Object

WheelInfo contains information per wheel about friction and suspension.


Nested Class Summary
static class WheelInfo.RaycastInfo
           
 
Field Summary
 boolean bIsFrontWheel
           
 float brake
           
 Object clientInfo
           
 float clippedInvContactDotSuspension
           
 float deltaRotation
           
 float engineForce
           
 float frictionSlip
           
 Vector3f chassisConnectionPointCS
           
 float maxSuspensionTravelCm
           
 WheelInfo.RaycastInfo raycastInfo
           
 float rollInfluence
           
 float rotation
           
 float skidInfo
           
 float steering
           
 float suspensionRelativeVelocity
           
 float suspensionRestLength1
           
 float suspensionStiffness
           
 Vector3f wheelAxleCS
           
 Vector3f wheelDirectionCS
           
 float wheelsDampingCompression
           
 float wheelsDampingRelaxation
           
 float wheelsRadius
           
 float wheelsSuspensionForce
           
 Transform worldTransform
           
 
Constructor Summary
WheelInfo(WheelInfoConstructionInfo ci)
           
 
Method Summary
 float getSuspensionRestLength()
           
 void updateWheel(RigidBody chassis, WheelInfo.RaycastInfo raycastInfo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

raycastInfo

public final WheelInfo.RaycastInfo raycastInfo

worldTransform

public final Transform worldTransform

chassisConnectionPointCS

public final Vector3f chassisConnectionPointCS

wheelDirectionCS

public final Vector3f wheelDirectionCS

wheelAxleCS

public final Vector3f wheelAxleCS

suspensionRestLength1

public float suspensionRestLength1

maxSuspensionTravelCm

public float maxSuspensionTravelCm

wheelsRadius

public float wheelsRadius

suspensionStiffness

public float suspensionStiffness

wheelsDampingCompression

public float wheelsDampingCompression

wheelsDampingRelaxation

public float wheelsDampingRelaxation

frictionSlip

public float frictionSlip

steering

public float steering

rotation

public float rotation

deltaRotation

public float deltaRotation

rollInfluence

public float rollInfluence

engineForce

public float engineForce

brake

public float brake

bIsFrontWheel

public boolean bIsFrontWheel

clientInfo

public Object clientInfo

clippedInvContactDotSuspension

public float clippedInvContactDotSuspension

suspensionRelativeVelocity

public float suspensionRelativeVelocity

wheelsSuspensionForce

public float wheelsSuspensionForce

skidInfo

public float skidInfo
Constructor Detail

WheelInfo

public WheelInfo(WheelInfoConstructionInfo ci)
Method Detail

getSuspensionRestLength

public float getSuspensionRestLength()

updateWheel

public void updateWheel(RigidBody chassis,
                        WheelInfo.RaycastInfo raycastInfo)