Platform not steady on solids with angle sine

0 favourites
  • 2 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)