Motion Trails
by Paul /*Wedge*/ DElia · in General Discussion · 03/23/2004 (10:07 pm) · 5 replies
Can you create or use an object type other than a weapon that will use the motion trail effect and raycast check? I don't see any references to this anywhere in the scripts, it just automatically works on any weapon with the proper nodes when you equip it. Does it only work with ShapeBase Images then? Given the description of those in the code, I'm guessing I can't use them as something other than an equipped item.
About the author
#2
03/24/2004 (6:41 pm)
I'm tring to get this same thing working, so I can have different trails depending on the attack. I'm not sure if I have the coding skills though.
#3
Yes, you can try it if you want.
Since I have done the motion trail implementation, it may be easier for me than for you, but I will probably not get to it before next weekend.
-- Markus
03/24/2004 (10:33 pm)
Hi Josh.Yes, you can try it if you want.
Since I have done the motion trail implementation, it may be easier for me than for you, but I will probably not get to it before next weekend.
-- Markus
#4
Edit: BTW, great job on the trails.
03/25/2004 (2:53 pm)
After looking at the code, I don't have a clue where ot start. I think I would need to make a varible say trailIndex, and make the weapon image have a trail array, but from there I'm lost.Edit: BTW, great job on the trails.
#5
i try to merge the code of "MotionTrail" to TGE, but this fx can't render in game!
Can anyone give some advice?
Thanks very much!
01/12/2006 (11:39 pm)
I use TGE 1.3.0.i try to merge the code of "MotionTrail" to TGE, but this fx can't render in game!
Can anyone give some advice?
Thanks very much!
Torque Owner Markus Nuebel
However. Currently only weapons (ShapeBaseImages are creating a trail and feeding it with position data).
To use it anywhere else the MotionTrail needs to expose some methods to scripts. E.g. the method:
If I find some time I will check this out.
-- Markus