How can I move player parallel to the ground?

Get help using Construct 2

Post » Sat Aug 09, 2014 10:13 pm

hi all

How can I move player parallel to the ground?
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 16
Reputation: 222

Post » Sun Aug 10, 2014 5:29 am

:? No one knows?
B
4
Posts: 16
Reputation: 222

Post » Sun Aug 10, 2014 6:05 am

I've been looking for a solution for this too, i hope someone helps us out ;)
B
22
S
6
Posts: 244
Reputation: 2,700

Post » Sun Aug 10, 2014 9:38 am

I'm sure there's a better way but since no1 else answers, you could try disabling collisions for the ground objects and create an invisible, solid rectangular object for the player to walk on and call it "solid" . Once it's done, try "player on collision with solid, set player angle to solid angle". Since you used multiple instances, with different angles of the "solid" to copy the shape of the ground, the player should now change it's angle according to the ground. This is far from an optim solution tho since it takes a lot of time and so many collision checks could make it buggy/laggy.
B
18
S
4
Posts: 87
Reputation: 1,199

Post » Sun Aug 10, 2014 10:51 am

You could create FUNCTION and use angle like this demo
You do not have the required permissions to view the files attached to this post.
B
255
S
39
G
15
Posts: 1,982
Reputation: 41,005


Return to How do I....?

Who is online

Users browsing this forum: worm1 and 42 guests