setReferencePoint(display.CenterRightReferencePoint) + rotate = WIRED object collision zone

Hi All,

I am facing a problem when i try to rotate a rectangle around the
centerRightReferencePoint or Left and then rotate it,
its bounding box is not where it is supposed to be…

For example

THIS WORKS:
box = display.newRect(a,b,c,d)
box:object.boundingBox:rotate(whateverAngle)

the collision detection is handled as normal

THIS IS NOT WORKING:

box = display.newRect(a,b,c,d)
box:setReferencePoint(display.CenterRightReferencePoint)
box:object.boundingBox:rotate(whateverAngle)

the collision occuring on the box are wired, and misplaced

Hope to have support from you guys, this is an annoying problem !

For the moment I will work around the problem by creating a second box with the rotated one coordinates and delete the first one.

Thank you [import]uid: 31779 topic_id: 6373 reply_id: 306373[/import]

EDIT THE CODE IS :
THIS WORKS:
box = display.newRect(a,b,c,d)
box:rotate(whateverAngle)

the collision detection is handled as normal

THIS IS NOT WORKING:

box = display.newRect(a,b,c,d)
box:setReferencePoint(display.CenterRightReferencePoint)
box:rotate(whateverAngle)
[import]uid: 31779 topic_id: 6373 reply_id: 22030[/import]

Guys this bug is a mass pain for us,
can we have support please ?? [import]uid: 31779 topic_id: 6373 reply_id: 22331[/import]

I just posted demo code for this to the bug tracker. This is an absolute showstopper for me – I’m dead in the water until this is resolved. [import]uid: 5169 topic_id: 6373 reply_id: 22636[/import]

Ok, good to hear I am not the only one stucked on this…
Hope for a quick fix [import]uid: 31779 topic_id: 6373 reply_id: 23039[/import]

Hi, thanks for your input. This is a known issue (case 3560 in our internal bug base). I added this thread to the report.

Tim [import]uid: 8196 topic_id: 6373 reply_id: 23097[/import]