Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- addDifferential
- addForce
- addImpulse
- addToPhysics
- addTorque
- addTorqueImpulse
- addVehicleLink
- computeWheelShapeTireForces
- createCCT
- createWheelShape
- getAngularDamping
- getAngularVelocity
- getCCTCollisionFlags
- getCenterOfMass
- getCollisionMask
- getDensity
- getLinearDamping
- getLinearVelocity
- getMass
- getMotorRotationSpeed
- getRigidBodyType
- getVelocityAtLocalPos
- getVelocityAtWorldPos
- getVolume
- getWheelShapeAxleSpeed
- getWheelShapeContactForce
- getWheelShapeContactNormal
- getWheelShapeContactObject
- getWheelShapeContactPoint
- getWheelShapePosition
- getWheelShapeSlip
- JointConstructor:setActors
- JointConstructor:setJointTransforms
- moveCCT
- overlapBox
- overlapSphere
- raycastAll
- raycastClosest
- removeAllDifferentials
- removeCCT
- removeFromPhysics
- setAngularDamping
- setAngularVelocity
- setCenterOfMass
- setCollisionMask
- setFrictionVelocity
- setJointDrive
- setLinearDamping
- setLinearVelocity
- setMass
- setRigidBodyType
- setSolverIterationCount
- setVehicleProps
- setWheelShapeForcePoint
- setWheelShapeProps
- setWheelShapeTireFriction
- simulatePhysics
- simulatePhysicsTimeScale
- updateDifferential
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
addDifferential
DescriptionAdd differentialDefinition
addDifferential(integer objectId, integer diff0Index, boolean diffIndex0IsWheel, integer diff1Index, boolean diffIndex1IsWheel, float ratio, float bias)Arguments
integer | objectId | id of the object |
integer | diff0Index | differential 0 index |
boolean | diffIndex0IsWheel | is wheel state |
integer | diff1Index | differential 1 index |
boolean | diffIndex1IsWheel | is wheel state |
float | ratio | ratio |
float | bias | bias |