Skip to content

Conversation

@matt-flaig
Copy link

@matt-flaig matt-flaig commented Mar 7, 2022

When moving from one-way tiles to upward slopes, entities would get stuck at the edge of the slope and require upwards momentum to be able to continue moving forwards.

Here's a sample entity trying to move up a slope from a one-way tile, previously:
Before

Here's the entity freely moving up the slope with this fix:
After

When moving from one-way tiles to upward slopes, entities would get stuck at the edge of the slope and require upwards momentum to be able to continue moving forwards.
@finscn
Copy link

finscn commented Mar 25, 2025

Glad to see someone is still watching impact.js .

I think you are an expert in impact.js area .

Do you tell me something about this #99 ? Thanks.

@tempral
Copy link

tempral commented Sep 12, 2025

I merged your solution and added some slopes in the test.js map (box2d physics demo)
but the player still doesn't walk up neither down slopes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants