Swinging door without physics

Just started using Construct 2? Post your questions here

Post » Sat Mar 22, 2014 9:57 am

In my top down game I'm trying to create doors (without using physics) that will do the following when the player collides with them:

1. When the player collides with them at speed they rotate/swing pendulum like before coming to a stop at their initial angle.

2. When the player collides with them at a slower speed the doors can gradually be pushed open. If the player is not pushing the door it also swings pendulum like back to its initial angle.

The doors can be vertical or horizontal, and should open from both directions. Attached capx is where I've got to so far, but it doesn't work very well and I think I've over engineered the solution.
You do not have the required permissions to view the files attached to this post.
B
5
S
1
Posts: 44
Reputation: 665

Post » Sun Mar 23, 2014 1:24 pm

Here is my start ...
You do not have the required permissions to view the files attached to this post.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,832


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest