Hi!
We're doing a game called ApeAttack ( https://sourceforge.net/projects/apeattack/ )
And we need to "cut" objects on collisions.
But from what I can see, there's no such possibility in LÖVE yet?
One solution (which I'm not sure I want to use) is to build the world of lots of small boxes and use our balls as bullets and delete all the shapes with the data "worldObject" or such.
Anyone else got some tips?
Is there a way to "cut" an object/body?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Fri Sep 11, 2009 9:16 pm
- zipperipper
- Prole
- Posts: 45
- Joined: Thu Jan 14, 2010 7:59 pm
- Location: UK
Re: Is there a way to "cut" an object/body?
i made this thing where you can cut through polygons, if you was to keep a table of points for the body, and then when you wanted to cut it, use a quick function to delete the old body and create 2 new ones from the point table (with cut points added), so it would fuck up on certain things when the polygon has inner angles over 180, but with a lot of alteration, it could work
Error 404, consciousness not found.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Semrush [Bot] and 4 guests