How do I create a door with physics from topdown

Get help using Construct 2

Post » Wed Jan 25, 2017 7:05 pm

I've yet to use physics in any games and I am trying to implement a hinged door that opens as a player walks through it. I know I could accomplish this in other ways, but I wanted to try implementing physics. Thanks in advance for any help :)
B
23
S
11
G
52
Posts: 137
Reputation: 27,881

Post » Wed Jan 25, 2017 7:31 pm

-Create Door sprite
-Create Hinge sprite
-Put Physics behavior on BOTH
-Set Hinge to IMMOVABLE.
-Set Door origin to either side, just not the middle.
-Set Door position to Hinge
-Create [Limited] Revolute Joint. It can be found on actions under Physics.
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,244

Post » Wed Jan 25, 2017 8:59 pm

MPPlantOfficial wrote:-Create Door sprite
-Create Hinge sprite
-Put Physics behavior on BOTH
-Set Hinge to IMMOVABLE.
-Set Door origin to either side, just not the middle.
-Set Door position to Hinge
-Create [Limited] Revolute Joint. It can be found on actions under Physics.

Thank you!
B
23
S
11
G
52
Posts: 137
Reputation: 27,881


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests