is there anaway how i can make a turret's barrel follow the mouse? (just the dirrection of the animation changes)
Printable View
is there anaway how i can make a turret's barrel follow the mouse? (just the dirrection of the animation changes)
Yes, with 360 degree movement. I know you are running TGF, but in the MMF2 archives there is an example with a turret, and this would be perfect for you. I don't believe it uses extensions. I can also post a formula if that open source example can not be run in TGF.
Marv
whats the 360 degrees movement?
It is really not a "the". It is a 360 degree movement coded within MMF and TGF. Permits more angles than 32. If you go to the MMF file archives, there are are 3 or 4 examples.
Marv
Im sorry, but i cant seem to find any of the examples :(
In the MMF Archives? There are at least 3 examples on the first few pages.
Marv
oh thanks now i see it
i never thought it would be that simple
Great!
Marv
another queston
is there anayway to make bullets stop in their tracks when they hit an enemy?
Destroy or stop?
Bullit hits enemy
>Bullit: Destroy
Marv
not destroy, just stop
i was wonderdering because i want the bullets to explode uppon contact with an enemy
On the same event you destroy them, create your explosion at X, Y of bullit.
Marv