Musicteacher Rampal
Registered User
Join date: 20 Feb 2004
Posts: 824
|
09-04-2005 13:51
I have a pre-fab house and I took the script from the door and tried to put it in another door and the new door rotates in the center instead of on the hinge like the origional does...what am I doing wrong?
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
09-04-2005 14:16
You're not doing anything wrong. Those doors are built in a way such that their 'center' is on one edge. I'm no builder, so I don't know how to do that best. But play with cutting the prim, or search through the forum here, it's been discussed before. I think if you set the begin and end cuts to 0.45 and 0.55 or something like that, you can achieve this effect. Basically, you're cutting away half the door, so what remains looks like a door, but it's only one half of the door, and so its edge is the center of the original door. If that makes any sense at all  There are other neat things you can do if you know how this building stuff works. I don't  Search for "prim torture" in the forums, that might give you some info too.
|
a lost user
Join date: ?
Posts: ?
|
09-05-2005 01:38
For half of a box: Begin Cut: 0.375 End Cut: 0.875
Gives you a nice even cut in half, rather than ending up with a triangle, you end up with a rectangle that is half the size of the original. If you want a quarter: Begin Cut: 0.375 End Cut: 0.625
Same thing again, just a quarter instead of half. Notice that the numerical distances of both of these are the result that you are getting just that you are starting from 0.375 instead of 0.000. You'll have to resize, and possibly rotate, the box to look like a door again but yes.. the centre of the prim with the door script will be on the edge of the prim.
The way the other door you had most likely worked was by having a thin prim that was used as a hinge on the edge of the door. The thin prim was made the parent prim and the script put inside it. This way the door rotates on the centre of this thin prim, and the rest of the linked object rotates with it.
|