|
Dzar Overlord
Registered User
Join date: 16 Mar 2007
Posts: 8
|
04-22-2007 01:38
I'm wanting to use the llSensorRepeat function to automatically open and close my door. However, I'm not sure on a good range/rate to keep any produced lag to a minimum while still opening before I face plant myself into the door. I was hoping that you all could suggest some values.
Also I've been looking into llVolumeDetect but the problem with it seems to be that it'd turn everything phantom. Not good considering how I plan to have the door and all the sensors linked with the rest of the building. Is there a way around this or would the block sensor in front of the door have to use something like llWhisper()?
I'm looking to be able to have both abilities inside my door with the option of turning them on and off. Thanks for the help.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
04-22-2007 01:54
i mostly use a unlinked volume detect prim and whisper. make it big enugh to cover both sides of the door and walkspace, collision start open door, collision end close door
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
04-22-2007 08:13
You really should go the llVolumeDetect() way. Even newbies pick up easily on how to work with it (I've been selling doors with an llVolumeDetect() for over a year and a half) and it avoids all the trouble of sensors.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
04-22-2007 08:25
I agree with the suggestions to use volume detect and whisper, and would add that if you're concerned about keeping this a very "self-contained" system (as in, linked together or the like), you might have the door rez the volume detect prim in the correct position when that option is selected, and possibly also issue it a kill command via whisper if that option is turned off (or just leave the prim there but ignore its messages).
Another way might be to use a "doormat" type structure and just have it detect the collision that will occur when someone stands on it. Depends on the specifics of your useage though, whether that would work for you.
Another peripheral consideration: doors which rotate open and closed, and are linked to the rest of the structure, can cause "prim drift" to the rest of the house over time. If your door swings open like the usual RL door, you might consider leaving it unlinked for that reason.
|