Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

auto look turret

Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
11-05-2007 18:10
im working on a system with TCS and im having alittle trouble, im trying to create a script that will create a turret, i have it all complete but now im trying to make a auto finding turret, say a avatar is within 90 or so the turret will look right at them and fire, anyone know how to create that or send me on right track to fixing my little bock in my mind? :o
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
11-05-2007 19:48
use a sensor with llDetectedPos then use either llLookAt or llRotLookAt i think it is