# How do I jump & rotate but still lands on perfect 0 degree?

Get help using Construct 2

### » Sun Nov 30, 2014 9:55 pm

...or rotate on X amount but still lands perfectly?

B
35
S
9
G
1
Posts: 10
Reputation: 2,335

### » Sun Nov 30, 2014 10:10 pm

ignacio wrote:

...or rotate on X amount but still lands perfectly?

if objects is on collision with the ground, set angle objects to zero....

you can also calculate the jump space and the rotation speed to be a zero when the jump is finish...but if the square touch another ground more high, this will not works...
B
21
S
9
Posts: 298
Reputation: 2,972

### » Mon Dec 01, 2014 11:52 am

Ribis wrote:
if objects is on collision with the ground, set angle objects to zero....

you can also calculate the jump space and the rotation speed to be a zero when the jump is finish...but if the square touch another ground more high, this will not works...

thanks!

the first option works!

how do i second one? is there an expression or something that convert Y position relative to angle?
B
35
S
9
G
1
Posts: 10
Reputation: 2,335

### » Mon Dec 01, 2014 12:09 pm

,,,,,,,,,,,,
You do not have the required permissions to view the files attached to this post.
B
67
S
24
G
7
Posts: 1,519
Reputation: 11,094

### » Mon Dec 01, 2014 12:30 pm

korbaach wrote:,,,,,,,,,,,,

you sir saved my life!!

THANKS!
B
35
S
9
G
1
Posts: 10
Reputation: 2,335