<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Krishna<BR>
 <BR>
To make a door create a cube prim with these sizes:<BR>
x= twice width of door<BR>
y= twice thickness of door<BR>
z= height of door<BR>
 <BR>
Next set Path Cut like this:<BR>
B=0.125<BR>
E=0.375<BR>
 <BR>
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.<BR>
 <BR>
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. <BR>
 <BR>
Hope this helps and happy door building... Bob<BR>
 <BR>
<BR> <BR>
<HR id=stopSpelling>
To: opensim-users@lists.berlios.de<BR>From: krishna.srikanth@tcs.com<BR>Date: Tue, 10 Nov 2009 15:29:14 +0530<BR>Subject: [Opensim-users] Change axis point<BR><BR><BR><FONT face=sans-serif size=2>Hi,</FONT> <BR><BR><FONT face=sans-serif size=2>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?</FONT> <BR><BR><FONT face=sans-serif size=2>Regards</FONT> <BR><FONT face=sans-serif size=2>Krishna</FONT><PRE>=====-----=====-----=====
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


</PRE>                                      <br /><hr />Use Hotmail to send and receive mail from your different email accounts. <a href='http://clk.atdmt.com/UKM/go/186394592/direct/01/' target='_new'>Find out how.</a></body>
</html>