I create a square using display.newLine, then add the other 3 sides using append.
Then I use addBody to add a body for collision detection
Using hybrid draw mode I can see the collision boundaries match the square correctly.
Everything is fine at this point - collision detection works great.
The problem arises when I set the square to rotate. Although, according to the hybrid drawmode, the collision boundaries stay exactly with the drawn square. In real life, collisions start happening elsewhere on the screen.
I’ve tried different physics bodies, changing xReference etc, but the real collision boundaries do not match what is drawn on screen and shown in hybrid mode.
Is this a problem with the hybrid mode?
[import]uid: 49842 topic_id: 11419 reply_id: 311419[/import]