Grouped physics objects

Hi

This thing is driving me nuts.
If I group physics objects (with defined shapes) under group object and then move that group - I get problem with collision objects: They don’t collide with my grouped objects.
Somehow, I discovered that “real” shapes are not moved with the group. They are somewhere near the screen origin. Shooting in that direction I can get the collision.
Why I am not getting real position of the physics shape in “hybrid” mode?

Thanks [import]uid: 101952 topic_id: 32895 reply_id: 332895[/import]

I had this exact same issue and found it remarkably frustrating. Basically, if physics objects are in a parent group and that parent group is moved, the active hit area for the collision is not updated.

This was my post (from yesterday): http://developer.coronalabs.com/forum/2012/11/11/kinematic-collisions-grouped-bodies [import]uid: 152300 topic_id: 32895 reply_id: 130719[/import]

Wow! This sux!

At least, overlay in hybrid mode should show real position of physics shapes.
It took me days to find that shapes are not following grouped objects.
This MUST be mentioned in the documentation.

Thank you JBee [import]uid: 101952 topic_id: 32895 reply_id: 130726[/import]

I had this exact same issue and found it remarkably frustrating. Basically, if physics objects are in a parent group and that parent group is moved, the active hit area for the collision is not updated.

This was my post (from yesterday): http://developer.coronalabs.com/forum/2012/11/11/kinematic-collisions-grouped-bodies [import]uid: 152300 topic_id: 32895 reply_id: 130719[/import]

Wow! This sux!

At least, overlay in hybrid mode should show real position of physics shapes.
It took me days to find that shapes are not following grouped objects.
This MUST be mentioned in the documentation.

Thank you JBee [import]uid: 101952 topic_id: 32895 reply_id: 130726[/import]

Looks like our posts may have resulted in the spawning of a new “tip” :slight_smile: http://www.facebook.com/notes/corona-labs/corona-tip-physics/491187347569095 [import]uid: 152300 topic_id: 32895 reply_id: 130747[/import]

Looks like our posts may have resulted in the spawning of a new “tip” :slight_smile: http://www.facebook.com/notes/corona-labs/corona-tip-physics/491187347569095 [import]uid: 152300 topic_id: 32895 reply_id: 130747[/import]

I’m glad to see this tip (note) posted, as I see this issue raised about twice a week in the forums. No offense to those who are baffled by it… I encountered this issue early in my Corona days and probably went almost insane figuring it out. :slight_smile:

The follow-up comment and method is a fair amount of work but it’s absolutely genius. I need to remember that method in case I need it in the future.

Brent [import]uid: 9747 topic_id: 32895 reply_id: 130782[/import]

I’m glad to see this tip (note) posted, as I see this issue raised about twice a week in the forums. No offense to those who are baffled by it… I encountered this issue early in my Corona days and probably went almost insane figuring it out. :slight_smile:

The follow-up comment and method is a fair amount of work but it’s absolutely genius. I need to remember that method in case I need it in the future.

Brent [import]uid: 9747 topic_id: 32895 reply_id: 130782[/import]