Jump to content

How can I change which side of a sculptie swinging door swings?


Jennifer Boyle
 Share

You are about to reply to a thread that has been inactive for 2515 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I have a sculptie gate that I put a simple swinging door script in.  It works fine except that it rotates around the latch side instead of the hinge side.  I understand just enough abouty scripting to change parameters and make minor modifications in scripts.  I understand how prim swinging doors work---they are sliced prims and swing around the center---but i have no idea what controls which side a scuptie swings around.

Any help will be appreciated.

 

Link to comment
Share on other sites

There are at least three common ways to make a door swing: (1) create the door with a hinge at its edge, (2) make a prim door and cut it to create a false edge at what used to be its midline or, (3) script the door to calculate where its edge ought to be and then apply an offset to make it swing from there. Regardless of which approach your door creator used, the direction of swing is probably controlled by a mildly obvious parameter among the global variables at the top of the script -- something that looks like a 90 degree rotation.  Maybe with a helpful label like "Swing".  If you're really lucky, all you have to do is reverse the sign on it (from + to - or vice versa).  If you're not lucky, the only way to tell is to see the script.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2515 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...