Open arnuschky opened 11 years ago
Calling setPosition on a body actor does not set the x and y attribute of that actor. It's usually set later (during the physics loop I guess), but until that moment x and y remain undefined.
For a fix see here: https://github.com/arnuschky/CAAT/commit/3f7227f6822efee712fd700eb1fc253488d735f4
Pull request: https://github.com/hyperandroid/CAAT/pull/117
Calling setPosition on a body actor does not set the x and y attribute of that actor. It's usually set later (during the physics loop I guess), but until that moment x and y remain undefined.
For a fix see here: https://github.com/arnuschky/CAAT/commit/3f7227f6822efee712fd700eb1fc253488d735f4
Pull request: https://github.com/hyperandroid/CAAT/pull/117