Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

rezzing items to setpos and turn physics

Aniam Ingmann
llOwnage(float pwnage);
Join date: 22 Oct 2005
Posts: 206
10-22-2007 16:31
I'm having some problems with a script.. I'm trying to have an object move to a person, and then rez an object that's physics around them.

I would like to know if there's any way to tell a prim that it's intersecting another prim, so that you can move it up and turn physics once it stops intersecting?
_____________________
From: someone

Don't worry, Aniam is here!
- Noob
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
10-23-2007 03:49
use a sensor to detect the avatar
use llDetectedPos() to find the position of the avatar
use llSetStatus() to control weather it's physical or not
use a collision event to detect when one object collides with another

I have no clue what you mean by 'physics around it', so I can't help you there.
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
10-23-2007 13:17
My guess is this would be some sort of cage gun from the description in which case they are all to readily available in world.
_____________________
Tread softly upon the Earth for you walk on my face.