|
Grypus Bunyip
Registered User
Join date: 21 Oct 2005
Posts: 6
|
02-05-2006 05:55
I want to make a door that only allows access in one direction.
Ideally, I wanted to make one face phantom, but I do not think that is possible.
Alternatively, I want to be able to touch the door for it to open, but only one side to detect the touch. Is it possible to know which face has been touched.
|
|
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
|
02-05-2006 07:43
it isn't possible to detech which face of a prim is touched but you could work around this by adding a second prim, making it a two-prim door, and having one prim touchable and the other non-touchable, of course nothing to stop someone using the camera look to look from the other side of the door and touch it. Alternatively you can use the position of the avatar which touched the door, something like checking if the x-coordinate is greater than that of the door (if the door lies parallel to the y-axis).
|
|
Grypus Bunyip
Registered User
Join date: 21 Oct 2005
Posts: 6
|
02-05-2006 07:46
From: nand Nerd Alternatively you can use the position of the avatar which touched the door Thats brilliant, Thank you.
|
|
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
|
02-05-2006 10:02
Another possibilty that I've used once or twice before is take a copy of the Trampoline script, tone the "bounce" down and place it in a phantom prim. Not only will it make a fair one way but it will help them through the door just a bit.
One thing this does produce however is the possibility of a PvP abuse report. So post a notice that the ride/room/whatever could produce this.
L8r, UU
|