ducttape / ducttape-engine

Ducttape Engine - A universal game engine

Home Page:http://ducttape-dev.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix EventListener Priorities (test_physics fails)

opatut opened this issue · comments

Right now they are not working. For example the test_physics crashes because the PhysicsManager priority is not being applied correctly. This must be investigated.

It was the Scene's priority being LOWEST, so the physics manager was called first, then the test state would save the node's position, and then the Node would update according to the last position calculated by the physics world. Thus, the node would move after the world was disabled.