I wanted to create a shape within the contour so I used delaunay triangulation. This returned all the triangles that build up the convex hull of the points. This was great but I only wanted the triangles inside the contour. Theo gave me a really great inside polygon test which solved this. I made sure …
I used box2d to create a shape out of the contour of the body. There are still some some bugs that I’m trying to work out. Initially the shapes were only colliding with the interior of the contour but simple reversing the points solved that. Some shapes are still being push through but I think …
These are mounds. They wiggle and wobble and don’t like to have things on top of them.
Working on some behaviors for plants. When the mouse gets close enough a stem will jump out a take a nibble, then retract for a rest. I want to get the movement a bit more accurate. I’m finding it hard to move objects in box2d without directly changing the position, which then destroys collisions.