bambieee

Collision detection without physics

Recommended Posts

Hi guys,

Is there a way for collision detection without using Matter or any physics. It would be great if I can use the special shape vector body, but I will happy for a rectangular body as well.
Or if I am using physics, how can I avoid my sprite rebounding from other sprites. I just want to detect when they overlapped each other.
I am using this:
this.matter.world.on('collisionstart', function (event, bodyA, bodyB) {}
Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.