How do I make my player maintain a position relative a room?

Get help using Construct 2

Post » Sun May 07, 2017 1:36 am

I have a space station that consist of an interior on the bottom layer, and an exterior on the top layer. The station rotates in orbit, and I want my players and npc's on the interior to rotate with it and still be able to walk around normally like on a real spacestation.
B
5
Posts: 8
Reputation: 241

Post » Sun May 07, 2017 11:28 am

It's a bit of a meager description your providing here .... an example would do wonders ...

Anyways, it sounds like you could do with something like:

When space station rotates x degrees, apply same rotational angle to whatever needs to rotate too,
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567

Post » Sun May 07, 2017 5:00 pm

I want the player to move with the station as it rotates, so that if he stands still, he will stay at the same spot on the floor while the floor moves, so everything in the station isn't moving around him.
B
5
Posts: 8
Reputation: 241

Post » Sun May 07, 2017 6:57 pm

How about pinning the player to the floor when he is not moving, and disable the pin when moving.

Simple, yet effective
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,567


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 10 guests