I have almost finished this vehicle "Westfalia", but I ran in a problem. The steeringwheel in the truck is only moving to the sides and not rotatiting? Anyone got a clue what i could be missing or what could be wrong?
Here's the code:
Here's the con script for the steering wheel
Code: Select all
ObjectTemplate.addTemplate westfalia_aSteeringwheel
ObjectTemplate.setPosition -0.3468/0.5832/1.7773
ObjectTemplate.setRotation -90/0/-26
ObjectTemplate.create RotationalBundle westfalia_aSteeringwheel
ObjectTemplate.collisionPart 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType 3
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.geometryPart 1
Code: Select all
rem ---------------------------- Steering -----------------------------------
ObjectTemplate.activeSafe RotationalBundle westfalia_aSteeringwheel
ObjectTemplate.modifiedByUser "dkleader"
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem ---------------------------- Steering Rotation ---------------------------
ObjectTemplate.addTemplate S_westfalia_aSteeringwheel_RotationRpm
ObjectTemplate.setMinRotation 0/0/-30
ObjectTemplate.setMaxRotation 0/0/30
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/-90
ObjectTemplate.setInputToRoll PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.activeSafe Sound S_westfalia_aSteeringwheel_RotationRpm
ObjectTemplate.modifiedByUser "dkleader"
Thanks in advance!

