ivansafrin/Polycode — Issue #69: addPhysicsChild only works with POSITION_CENTER
Author: mcclure
Created: 2011-12-15 04:03:31+00:00
State: open

If I create a ScreenEntity of some kind, call setPositionMode(ScreenEntity::POSITION_TOPLEFT) on it, and then addPhysicsChild it, the ScreenEntity will act as if the position mode has been reset to POSITION_CENTER. The entity will be both drawn centered and also the physics will treat it as if it is centered.

If this is intentional behavior, it should be documented.

The problem at work: http://i.imgur.com/61fgH.png