[Resolved] Physics bodies become invisible

Hi,

I have a problem with the physics API…

The images connected to the physics bodies become invisible after putting objects in a group…

If I put a physics.setDrawMode(“hybrid”) in my code, I see my physics bodies in the right position, but if I delete this string, I can’t see anything, because the images don’t exist anymore…

I hope that someone can help me :slight_smile:
Thank you [import]uid: 127704 topic_id: 30103 reply_id: 330103[/import]

Hey,

I believe you are inserting your objects into a different group to your background image and your background image is in fact appearing in front of these objects.

Could that be the case?

Peach :slight_smile: [import]uid: 52491 topic_id: 30103 reply_id: 120596[/import]

Uh-oh, what a mistake! :slight_smile:

My objects were in fact hidden by the background image :S

Thank you very much Peach :slight_smile: [import]uid: 127704 topic_id: 30103 reply_id: 120633[/import]

Not a problem - been there, done that, will almost certainly do it again :wink: [import]uid: 52491 topic_id: 30103 reply_id: 120823[/import]

Hey,

I believe you are inserting your objects into a different group to your background image and your background image is in fact appearing in front of these objects.

Could that be the case?

Peach :slight_smile: [import]uid: 52491 topic_id: 30103 reply_id: 120596[/import]

Uh-oh, what a mistake! :slight_smile:

My objects were in fact hidden by the background image :S

Thank you very much Peach :slight_smile: [import]uid: 127704 topic_id: 30103 reply_id: 120633[/import]

Not a problem - been there, done that, will almost certainly do it again :wink: [import]uid: 52491 topic_id: 30103 reply_id: 120823[/import]