View Full Version : How to make a Player Tracking Turret

10-11-2009, 09:22 PM
How to make a Player Tracking Turret

YouTube - Little Big Planet How to make a Player Tracking Turret By :Defcon01

I hope you enjoy it

10-11-2009, 09:29 PM
A similar thing is used in my level: Whichever Way The Wind Blows- Red. You should check it out. Nice work though.

10-11-2009, 10:25 PM
Good work, but this belongs in the tutorials section, not the help section. You might want to ask a mod to move this to help the most people.

10-14-2009, 11:07 AM
Cool. Might be better if it was roof mounted.

10-14-2009, 06:27 PM
you didnt make that :mad: why would you not give credit to the guy who did? i happen to be friends with him :grr:

10-14-2009, 09:43 PM
Inspired by your design, I took your idea and added wenches on either side to enable a tracking feature, so when the player moves the turret tries to stay locked on. Basically on each side I added a backward wench with one end attached to the base floor section (about as far away in length as the height of the turret itself) and the other end attached to the turret barrel at the far end. The wench has a long range from near zero to about double the height of the turret. I hooked this up to a proximity sensor mounted on the barrel, with a 130 degree arc that runs from 5 degrees off the barrel axis (on same side as wench) down to 45 degrees past the perpendicular. This is an in/out switch that will turn the turret head toward the poor sack-victim when they are in range of sight. The same rig is mirrored on the opposite side of the turret to cover the other side.

I still use the wobble bolt (with a slightly lowered tighteness setting) and I still use the inverted proximity on/off switch on it covering the 10 degrees in front of the barrel. This way the turret patrols back and forth, but when a player comes in contact, it kind of switches modes, and it locks on and follows the player. I also still use the other proximity sensor from the OP rig for the firing mechanism. So my barrel has 4 proxmity switches in all, two pointed along the axis, and one pointed at an angle to either side.

You might have to experiment a bit with the angle and speed settings to get it to behave smoothly and accurately, depending on the model scale and desired reaction speed, and more importantly depending on how close a range the player is going to be to the turret itself, because the further away the player is, the narrower a "locked on" arc (that forward 10 degrees in my run down) you'll want, and vise versa.

I'm pretty new to all this, and not sure if this is LBPCentral protocol, but...if you want me to send you my actual sample turret just send a friendly request to PSN ID Grendil--. (Note the unfortunate double dash suffix.)

10-15-2009, 05:56 AM
he didnt make this! :(

10-21-2009, 12:26 PM
this is a great tutorial thanks for posting although the text is hard to see i was looking for a way i could build a player tracking turret thanks for this so much

10-24-2009, 06:12 AM
I used a similair thing in a new level of mine, which has not been published yet. Also, please give credit to Defcon for making this tutorial. It was his hard work, not yours.