Hi guys, I have created a game that requires changing scenes. When changing scenes I want to stop the physics in the current scene running before moving on to the next scene.
According to the research i’ve done there is some code that is meant to go in
function scene:exitScene( event )
– code to stop physics to go here
end
and
function scene:destroyScene( event )
– code to stop physics to go here too
end
does anyone know the code that stops the physics?
I hope this makes sense
Thank You