C# Class BulletCSharp.btRaycastVehicle

Inheritance: IDisposable
Mostra file Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
addWheel ( SWIGTYPE_p_btVector3 connectionPointCS0, SWIGTYPE_p_btVector3 wheelDirectionCS0, SWIGTYPE_p_btVector3 wheelAxleCS, float suspensionRestLength, float wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, bool isFrontWheel ) : SWIGTYPE_p_btWheelInfo
applyEngineForce ( float force, int wheel ) : void
btRaycastVehicle ( SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, btRigidBody chassis, SWIGTYPE_p_btVehicleRaycaster raycaster ) : System
debugDraw ( SWIGTYPE_p_btIDebugDraw debugDrawer ) : void
getChassisWorldTransform ( ) : SWIGTYPE_p_btTransform
getCurrentSpeedKmHour ( ) : float
getForwardAxis ( ) : int
getForwardVector ( ) : SWIGTYPE_p_btVector3
getNumWheels ( ) : int
getRightAxis ( ) : int
getRigidBody ( ) : btRigidBody
getSteeringValue ( int wheel ) : float
getUpAxis ( ) : int
getUserConstraintId ( ) : int
getUserConstraintType ( ) : int
getWheelInfo ( int index ) : SWIGTYPE_p_btWheelInfo
getWheelTransformWS ( int wheelIndex ) : SWIGTYPE_p_btTransform
rayCast ( SWIGTYPE_p_btWheelInfo wheel ) : float
resetSuspension ( ) : void
setBrake ( float brake, int wheelIndex ) : void
setCoordinateSystem ( int rightIndex, int upIndex, int forwardIndex ) : void
setPitchControl ( float pitch ) : void
setSteeringValue ( float steering, int wheel ) : void
setUserConstraintId ( int uid ) : void
setUserConstraintType ( int userConstraintType ) : void
updateAction ( SWIGTYPE_p_btCollisionWorld collisionWorld, float step ) : void
updateFriction ( float timeStep ) : void
updateSuspension ( float deltaTime ) : void
updateVehicle ( float step ) : void
updateWheelTransform ( int wheelIndex ) : void
updateWheelTransform ( int wheelIndex, bool interpolatedTransform ) : void
updateWheelTransformsWS ( SWIGTYPE_p_btWheelInfo wheel ) : void
updateWheelTransformsWS ( SWIGTYPE_p_btWheelInfo wheel, bool interpolatedTransform ) : void

Private Methods

Method Description
btRaycastVehicle ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btRaycastVehicle obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

addWheel() public method

public addWheel ( SWIGTYPE_p_btVector3 connectionPointCS0, SWIGTYPE_p_btVector3 wheelDirectionCS0, SWIGTYPE_p_btVector3 wheelAxleCS, float suspensionRestLength, float wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, bool isFrontWheel ) : SWIGTYPE_p_btWheelInfo
connectionPointCS0 SWIGTYPE_p_btVector3
wheelDirectionCS0 SWIGTYPE_p_btVector3
wheelAxleCS SWIGTYPE_p_btVector3
suspensionRestLength float
wheelRadius float
tuning SWIGTYPE_p_btRaycastVehicle__btVehicleTuning
isFrontWheel bool
return SWIGTYPE_p_btWheelInfo

applyEngineForce() public method

public applyEngineForce ( float force, int wheel ) : void
force float
wheel int
return void

btRaycastVehicle() public method

public btRaycastVehicle ( SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, btRigidBody chassis, SWIGTYPE_p_btVehicleRaycaster raycaster ) : System
tuning SWIGTYPE_p_btRaycastVehicle__btVehicleTuning
chassis btRigidBody
raycaster SWIGTYPE_p_btVehicleRaycaster
return System

debugDraw() public method

public debugDraw ( SWIGTYPE_p_btIDebugDraw debugDrawer ) : void
debugDrawer SWIGTYPE_p_btIDebugDraw
return void

getChassisWorldTransform() public method

public getChassisWorldTransform ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getCurrentSpeedKmHour() public method

public getCurrentSpeedKmHour ( ) : float
return float

getForwardAxis() public method

public getForwardAxis ( ) : int
return int

getForwardVector() public method

public getForwardVector ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getNumWheels() public method

public getNumWheels ( ) : int
return int

getRightAxis() public method

public getRightAxis ( ) : int
return int

getRigidBody() public method

public getRigidBody ( ) : btRigidBody
return btRigidBody

getSteeringValue() public method

public getSteeringValue ( int wheel ) : float
wheel int
return float

getUpAxis() public method

public getUpAxis ( ) : int
return int

getUserConstraintId() public method

public getUserConstraintId ( ) : int
return int

getUserConstraintType() public method

public getUserConstraintType ( ) : int
return int

getWheelInfo() public method

public getWheelInfo ( int index ) : SWIGTYPE_p_btWheelInfo
index int
return SWIGTYPE_p_btWheelInfo

getWheelTransformWS() public method

public getWheelTransformWS ( int wheelIndex ) : SWIGTYPE_p_btTransform
wheelIndex int
return SWIGTYPE_p_btTransform

rayCast() public method

public rayCast ( SWIGTYPE_p_btWheelInfo wheel ) : float
wheel SWIGTYPE_p_btWheelInfo
return float

resetSuspension() public method

public resetSuspension ( ) : void
return void

setBrake() public method

public setBrake ( float brake, int wheelIndex ) : void
brake float
wheelIndex int
return void

setCoordinateSystem() public method

public setCoordinateSystem ( int rightIndex, int upIndex, int forwardIndex ) : void
rightIndex int
upIndex int
forwardIndex int
return void

setPitchControl() public method

public setPitchControl ( float pitch ) : void
pitch float
return void

setSteeringValue() public method

public setSteeringValue ( float steering, int wheel ) : void
steering float
wheel int
return void

setUserConstraintId() public method

public setUserConstraintId ( int uid ) : void
uid int
return void

setUserConstraintType() public method

public setUserConstraintType ( int userConstraintType ) : void
userConstraintType int
return void

updateAction() public method

public updateAction ( SWIGTYPE_p_btCollisionWorld collisionWorld, float step ) : void
collisionWorld SWIGTYPE_p_btCollisionWorld
step float
return void

updateFriction() public method

public updateFriction ( float timeStep ) : void
timeStep float
return void

updateSuspension() public method

public updateSuspension ( float deltaTime ) : void
deltaTime float
return void

updateVehicle() public method

public updateVehicle ( float step ) : void
step float
return void

updateWheelTransform() public method

public updateWheelTransform ( int wheelIndex ) : void
wheelIndex int
return void

updateWheelTransform() public method

public updateWheelTransform ( int wheelIndex, bool interpolatedTransform ) : void
wheelIndex int
interpolatedTransform bool
return void

updateWheelTransformsWS() public method

public updateWheelTransformsWS ( SWIGTYPE_p_btWheelInfo wheel ) : void
wheel SWIGTYPE_p_btWheelInfo
return void

updateWheelTransformsWS() public method

public updateWheelTransformsWS ( SWIGTYPE_p_btWheelInfo wheel, bool interpolatedTransform ) : void
wheel SWIGTYPE_p_btWheelInfo
interpolatedTransform bool
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool