Hi Krishna
To make a door create a cube prim with these sizes:
x= twice width of door
y= twice thickness of door
z= height of door
Next set Path Cut like this:
B=0.125
E=0.375
This now means the cut prim (door) is a quarter of the original prim and the
whilst the axis is in the middle of the original prim it is now down the edge
of the cut prim. Rotating the prim using a script will cause it to hinge around
this edge axis. Doors are always hinged at one corner like this in RL so it
will act like a RL door.
If I may give some advice here, I would say placing doors correctly is
important too and often forgotten. Doors usually open into a room not outwards
and are usually fixed to a door frame which is wider than the wall its in. The
door is always less thick than the frame. The doors inside face should be flush
with the face of the door facing the inside of the room with the axis/hinge of
the door where the inside face of the door meets the door frame. This will mean
the door opens naturally, whether you open it 90 degress or 180 degrees,
without part of the door disappearing into the door frame or wall. When you are
outside the room and the door is open 90 degrees you will see the doors edge.
Compare that to RL and you will see it is correct. I guess this sounds picky
but try it and you will see how much more satisying it is to see a door act
like a RL door.
Hope this helps and happy door building... Bob
To: [email protected]
From: [email protected]
Date: Tue, 10 Nov 2009 15:29:14 +0530
Subject: [Opensim-users] Change axis point
Hi,
When I create prim in opensim, the axis point (or center point or point where 3
axes meet) is in the center of the prim. How can i move that point to border or
edge, so that i can write scripts for doors and windows?
Regards
Krishna=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_________________________________________________________________
Use Hotmail to send and receive mail from your different email accounts
http://clk.atdmt.com/UKM/go/186394592/direct/01/_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users