Search the Community
Showing results for tags 'distance'.
Found 3 results
Hi - I'm trying to find a way to allow the rezzing of a gate, on the other side of our sim, when raiders cross a certain point. I'm struggling somewhat with the 10m issue. I've tried a few options, including Innula's tutorial - and also Erwin's trigger script for Casper's Rez2 script. Neither seem to work exactly as I need. In essence, it's simply to drop a prim gate in place 70m or so from the arrival raid point, as raiders tread on the collision mat. The gate to have an adjustable timer to vanish too. The closest I have - is the SimKing TR - works ideally - but isn't on collision, and is non mod. I'm sure I'm missing something obvious - any suggestions welcomed!
Hey guys! So this one's got me a little stumped, I don't know how to approach this to get the desired result. I'm making some "drones" that will wander, but also follow and move between a predefined set of positions within a sim. I've opted for llMoveToTarget for this, but face an inconsistency, if you will. I somehow need to calculate the damping value for llMoveToTarget based on the distance between vector points, so that the movement speed of the drone seems "realistic". By this I mean, for a short distance the drone should move slower between the points, but for a longer distance it should speed up to make the wait less, but without snapping to the target point. I've already toyed with the idea of using llVecDist for this, but don't quite get how I can use it for my issue. Any input would be fantastic!