Tuesday, January 7, 2014

Day 2 Results, Kyle

Didn't get much done.  I'm currently working on getting the destructible terrain.  I'm running into an issue with dealing with updating the terrain after an explosion occurs.  Given a vector of points where collisions between the explosion's shape and the terrain occurred, my program creates the wrong lines from the points.  So instead of making a line AB out of points ABC, it makes line BC, which is leading to awkward holes in the terrain whenever collisions occur.  I still have to get the entire explosionShape to modify the terrain still.  Currently, only the lines of the explosionShape that collide with another line are added.

No comments:

Post a Comment