Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent pushing dynamic bodies #591

Closed
EnemyArea opened this issue Feb 7, 2019 · 3 comments · Fixed by #795
Closed

Prevent pushing dynamic bodies #591

EnemyArea opened this issue Feb 7, 2019 · 3 comments · Fixed by #795
Assignees
Milestone

Comments

@EnemyArea
Copy link

Hey guys,

there should be a solution to prevent pushing a dynamic body with an other dynamic body.
They should collide, but not pushable. In many games you need e.a. npcs which moving around a a town, but you must not push them or they should push you. But if you ran into one or they ran into you, the character must stop / flow around.

@craftworkgames
Copy link
Collaborator

I think we need a little more context here.

What are you talking about exactly?

@EnemyArea
Copy link
Author

If you look at the platformer demo, you can push the enemies around. But why should I push my other dynamic bodies around? They should move, but don't get pushed away.

@lithiumtoast lithiumtoast self-assigned this May 20, 2020
@lithiumtoast lithiumtoast added this to the v3.9 milestone May 20, 2020
@lithiumtoast lithiumtoast modified the milestones: v3.9, v4 Jun 30, 2020
@lithiumtoast
Copy link
Contributor

The collision code definitely needs to be refreshed. I think what is mentioned here is the ability to not push an NPC when you, the player, collide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants