Jump to content

[P2js] Avoiding moving sprite to deviate from its trajectory when colliding


Recommended Posts

HI everyone,


I have sprites that have their own trajectory in the world.

They have to move like this no matter what happened.

But with P2 collision when my player collide with them they are deviated, player move them.


I can't make them static because they are moving.

I want the player be deviated by them but not the other way round.


Is it even possible?

And if yes how?



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...