Vehicle Collision Box:  Blender 3D Game Engine



  
pageok


  
7.  Position the object centers of the Collision Box and your car so they match up.

Note:
  • The replace mesh actuator uses the object centers to orient/position the replacement mesh.  If the object centers don't match up, the replacement mesh won't match up with the collision box.

Instructions:
  • Collision Box selected:  Edit  mode
Select all verts
Move mesh
   


   
8.  Add an Always Sensor
    

Instructions:
  • Collision Box selected:  Object mode
  • Buttons Window menu >> Logic (F4)
Sensors Add:
Always Sensor (set to run once)

Add an AND Controller

Instructions:
  • Buttons Window menu >> Logic (F4)
Controllers Add:
AND Controller

Add an Edit Object Actuator:  Replace Mesh

Instructions:
  • Buttons Window menu >> Logic (F4)
Actuator Add:
Edit Object:
Replace Mesh
   
Connect Always Sensor >> AND Controller >> Replace Mesh Actuator


Instructions:
  • Connect Always Sensor >> AND Controller >> Replace Mesh Actuator
Pull wire from brass bump to brass dimple
   

   
 
pageok