HOME | DD

Computer-Turret — Targeter Turret Engine

Published: 2008-05-03 00:35:43 +0000 UTC; Views: 311; Favourites: 0; Downloads: 4
Redirect to original
Description An engine with some interactivity. You an choose to have the turret auto move or point towards the mouse. You can get the bullets to curve towards the mouse or home toward it. Just some inverting effects to look cool.
Dual barrel turret, bullets come out of the gun tips via localToGlobal()
Related content
Comments: 2

psykopath [2008-05-05 01:40:54 +0000 UTC]

Use of localToGlobal =
Its very useful, and yet so many people cannot understand how it works

And the bullets curving towards the mouse, good stuff

👍: 0 ⏩: 1

Computer-Turret In reply to psykopath [2008-05-05 11:01:38 +0000 UTC]

I've been using localToGlobal for some time, also took me some time to learn it. I can see how it would be confusing, because at one point it was confusing for me.
The bullet curving towards the mouse was down much simpler than you might think, all it did was determine which side the mouse was on compared to it and rotate towards it.

👍: 0 ⏩: 0