hy,
i am wondering if there is a way to check if an object has a body.
Because i am removing bodys from an array full of objects, some have bodys other’s dont, and i get the message : WARNING: physics.removeBody() given a display object that is not a physics object.
want to do something like this
if physics.“hasBody”( Deck[row][column] ) then
physics.removeBody( Deck[row][column] )
end
thks,
Edou [import]uid: 92107 topic_id: 19936 reply_id: 319936[/import]