[Solved] How do I reset the Platform behavior?

Get help using Construct 2

Post » Mon Jul 04, 2016 8:43 pm

I have a sprite with the platform behavior. If I set it to enabled=false in the middle of a jump, it freezes, which is ok. Problem is, when I set it to enabled again, it continues the "physical" part of the jump. I would like it to just fall, reset the previous jump state...

How can that be done?

Thanks!
Last edited by trueicecold on Mon Jul 04, 2016 9:03 pm, edited 1 time in total.
B
17
S
7
G
1
Posts: 157
Reputation: 1,878

Post » Mon Jul 04, 2016 9:03 pm

After debugging and seeing what changes upon a jump - setting vector y to 0 did the trick :)
B
17
S
7
G
1
Posts: 157
Reputation: 1,878


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 2 guests