I know to do it,, but i dont know yet to prevent it to return back to original position hahahaha
(FireWeapons>0)?sum(FireWeapons):0
It will always spin indefinitely if u press shoot(cannon not gun,and actually any missile too if u have it,u gonna need another ternary if u have more weapon other than cannon)
But, it will turn back to original position with the same rotation it was rotating
when i shoot
@griges only cannon
I know to do it,, but i dont know yet to prevent it to return back to original position hahahaha
(FireWeapons>0)?sum(FireWeapons):0
It will always spin indefinitely if u press shoot(cannon not gun,and actually any missile too if u have it,u gonna need another ternary if u have more weapon other than cannon)
But, it will turn back to original position with the same rotation it was rotating
something to do with
sum(x)
andsmooth(x)
Idk@SPAircraftOfficial thanks but it's not. I want it to be a rotary cannon, e.g. 25 mm
My best guess is working with xml on the minigun
I tried once to create a rotary cannon and I just made it look like one