Sign in to follow this  
scofieldly

onbegincontact not work

Recommended Posts

Hi all,

 

I want to use p2 onbegincontact to detect 2 p2 body overlap and want to do some actions, 

I tried to write like this

body1.onBeginContact.add(func, this);

 

but it seems when it overlap another body, the callback func did not run. 

is there any tips for using this event, 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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.