Collision with irregular shaped objects?
Hi All,
I'm trying to have a ball collide with a large tree - which obviously isn't square or circular - but I only see the option to set collision to one of the two (Rectangle / Circle). In both instances the boundary for the rectangle or circle are nowhere near the branches etc. of the tree so the ball doesn't even come close to touching the actual tree before it collides. Is there a way to have an object collide with irregular shaped objects by using their own shape? If not, do I have to dice up the tree into lots of little parts? Seems like a tedious task if so, but just trying to figure out the best way to handle this.
Thanks very much in advance!
I'm trying to have a ball collide with a large tree - which obviously isn't square or circular - but I only see the option to set collision to one of the two (Rectangle / Circle). In both instances the boundary for the rectangle or circle are nowhere near the branches etc. of the tree so the ball doesn't even come close to touching the actual tree before it collides. Is there a way to have an object collide with irregular shaped objects by using their own shape? If not, do I have to dice up the tree into lots of little parts? Seems like a tedious task if so, but just trying to figure out the best way to handle this.
Thanks very much in advance!
Comments
@HappyKat78 no problem ... happy to help where I can.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
and pixel collision will be nice:)