Platform not steady on solids with angle sine

Bugs will be moved here once resolved.

Post » Sun May 24, 2015 7:37 am

Player jitters on floor, causing missed jumps request
This is more critical when the platform angle is between 90-270, making jumping almost impossible.

Attach a Capx
http://www.avishaymizrav.com/platformSineBug.capx


Is this a bug or should i handle jumping from rotating platforming separately with vector Y/X?

Update: I found a temporary solution, if the wall angle is between 300-420 and the player is not jumping, i am pushing the player 2px in self.angle+90, this keeps him steady and jumping is working better.
Maybe this is something that should be auto implemented for the platform plugin.
Image
B
78
S
29
G
12
Posts: 515
Reputation: 12,559

Post » Tue May 26, 2015 10:30 am

This is an incredibly difficult problem, since the gradient of the floor is changing. The platform behavior can only climb slopes of a certain increment and to be realistic it should "slide off" if it gets too steep. However the platform behavior does not actually know the gradient of the floor it's standing on, since slopes are handled only while moving. The platform behavior is already extremely complicated as well, with the ability to handle rotating gravity, jump-thrus and more. So I'm afraid I don't think we will fix this.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests