Physics: Collision at the wrong place

Hello,

I have a weird problem where collision does happen, but at the wrong place. This looks to be caused by reference point.

Please see the video:
http://www.youtube.com/watch?v=J08oJQBHWpE

Here we have a static ground object and a dynamic wheel object.
[lua]ground:setReferencePoint(display.TopLeftReferencePoint)
physics.addBody(ground, “static”)
physics.addBody(wheel, “dynamic”, {radius=20 * display.contentScaleX})[/lua]

If you remove the first line, collision will happen at the right place.

Shouldn’t collisions be reference point agnostic?

Corona SDK 2011.704 [import]uid: 52103 topic_id: 18936 reply_id: 318936[/import]

Could you submit this as a bug, please?

http://developer.anscamobile.com/content/bug-submission

Peach :slight_smile: [import]uid: 52491 topic_id: 18936 reply_id: 73033[/import]

Done! [import]uid: 52103 topic_id: 18936 reply_id: 73053[/import]