Flashlight
by CdnGater · in Torque Game Engine Advanced · 07/09/2007 (8:02 pm) · 3 replies
I was wondering if anyone has implemented a Flashlight in TGEA? I found the resource for the TGE one, though it looks like it's probably broken.
I'm looking for the typical, hold a flashlight object and turn it on to shine around the room implementation. If anyone has anything they can share that would be great, otherwise can I get some direction on how to implement.
Edit: Just thinking about it, even a working version of the TGE for TGEA would be ok.
Thanks
I'm looking for the typical, hold a flashlight object and turn it on to shine around the room implementation. If anyone has anything they can share that would be great, otherwise can I get some direction on how to implement.
Edit: Just thinking about it, even a working version of the TGE for TGEA would be ok.
Thanks
#2
So basicaly
Create a Directional Light datablock
Create the light from the datablock
then attach the light to the flashlight
and then lastly, mount the flashlight to the hand mount point of the character?
07/10/2007 (10:01 am)
Attach a directional light? Sorry, I'm not up on the lighting system yet, been reading it trying to understand.So basicaly
Create a Directional Light datablock
Create the light from the datablock
then attach the light to the flashlight
and then lastly, mount the flashlight to the hand mount point of the character?
#3
07/10/2007 (10:56 am)
Yup, sounds good to me.
Torque 3D Owner Mark Dynna