Vehicle Lights
by Britt Scott · in Torque Game Engine · 09/05/2008 (6:05 pm) · 1 replies
I'm confused on what needs to be done to be able to have headlights. I tried looking at the swinging light in the TLK demo, but I'm not sure how it works. Based on the TDN articles I found out it needs to be "attached", instead of "mounted". I'm guessing the attaching of the light needs to take place in the onAdd of the wheeledVehicle, but what lighting and attaching information do I need there? Also, does the light get attached to a mount node or a light node? Thanks in advance!
About the author
Attended Brown College in Mendota Heights, MN for Game Design and Development. Projects include the Mech Starter Kit and the Battle Frog. Currently working toward a game design career.
Associate Britt Scott