Physic.addBody canbot be called when the world is locked and attempt to call method setlinear velocity a nil value

I am working a corona physics game and have two level one is anim and another is boss level . Just after killed anim it will go to boss level and using driector this is going and in seperate both are working bt after anim level when i am going boss level then 

Physic.addBody canbot be called when the world is locked  is happening and after click

 attempt to call method setlinear velocity a nil value is happening.  Anybody can help me. If able to help please inform me i will give u the code etc . I think someone understand my problem. Please help me 

I think you will need to post some code around where you’re going to the new scene.  Are you using collision detection?

Rob

Thanks I have solved that by using another waya yapp there is a code in collision detection and both are using physics and in runtime the collision are calling . And when one step is finished then i am going a lua where there is no physics and then going there i am showing a message and reloading another then and its working . I am not sure that is it a good approach. Can u please quote me when i want to use two physics then to work them what should i do i need to know the correct waya. :slight_smile:

Thanks

I think you will need to post some code around where you’re going to the new scene.  Are you using collision detection?

Rob

Thanks I have solved that by using another waya yapp there is a code in collision detection and both are using physics and in runtime the collision are calling . And when one step is finished then i am going a lua where there is no physics and then going there i am showing a message and reloading another then and its working . I am not sure that is it a good approach. Can u please quote me when i want to use two physics then to work them what should i do i need to know the correct waya. :slight_smile:

Thanks