In playing with rotate layer I'm finding some unusual interactions.
in the linked example. Layer 0 has a series of TiledBackground objects with Solid. Layer 1 as a sprite object with platform behavior. [Space] will rotate layer 0 90 degrees. [z] toggles sprite between layer 0 and layer 1.
The unexpected result of rotating layer 0, is the sprite on layer 1 collides with the solid objects on layer 0 as if they never rotated.
This oddity is removed if sprite and solid objects are on the same layer. Toggled in the example with [z]. That said when moving sprite to a rotated layer 0 it's position seems to shift relative to the rotation of the layer.
Assuming this is normal behavior. What would be a good way of countering this effect? My goal is to have several different layers each with independent rotations, that will interact with a platform behavior
My first thought is to simply have each series of objects pinned to a Pivot object. That will do the rotation. This solves the problem. but does not allow me to use Rotate layer. Which I'm trying to utilize for the competition.
Links Link to demo examplelink to .Capx
Thanks for any help.