Jump to content

Physics based doors


nick.ace
 Share

Recommended Posts

I am trying to make a script for physics based doors (like Amnesia) where you can pull and push the doors. Right now I have slam open and slam closed, but the pull and push are super glitchy, so I think I'm approaching that the wrong way.

 

Any suggestions on how to approach this?

Link to comment
Share on other sites

I am trying to make a script for physics based doors (like Amnesia) where you can pull and push the doors. Right now I have slam open and slam closed, but the pull and push are super glitchy, so I think I'm approaching that the wrong way.

 

Any suggestions on how to approach this?

How do they glitch?

Link to comment
Share on other sites

I'm going to start over anyway. It's not a bug in the engine, it was just poor implementation on my part because I didn't really know how best to approach it.

 

What I was doing in the past was putting a point in from of the player, and then pointing the door towards that point. You would get instantaneous door movements to point to that point. It also behaves weird if you try to turn your player.

 

Anyway, I just want to know at a high level to achieve this door effect in Leadwerks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...