I used builtin physics component and don’t know how to get Physics World from the engine in simulator. Could anyone can help?
Try like this
physicsManager = cc.director.getPhysicsManager()
world = physicsManager._world
Thanks. I’ve already tried this but it does not work in simulator/devices.