Game Development Community

How do i make my gun cast light

by fire maker · in Torque Game Engine · 06/25/2007 (6:51 pm) · 5 replies

How do i make my gun cast light please do not give me .cc file or header files i need .cs files please.

#1
06/25/2007 (7:47 pm)
Unfortunalty what you asking for requires more then a simple .cs file
and would require that you probably simply need to look in the Private area.. there are several examples there. you will need the art and other changes to make it work. sorry, to break it to you, but thats the way it works
#2
06/26/2007 (6:33 am)
Does your gun have a mount point that you can mount a dynamic light to?
#3
06/26/2007 (12:16 pm)
I dont know but how would i mount a light if it did
#4
06/27/2007 (1:25 pm)
If the model does have a mount node, you create a dynamic light via script, then call attachToObject on the light and pass the object that you would wish to attach to.
#5
07/14/2007 (2:13 pm)
Cool. il try this:)