Hi,
in my game I'm using the edge shapes as terrain. When the player wants to jump, if the line to his feet intersects with a body he can jump. It works fine with polygons but not with those edge shapes. I saw that there is a testPoint function that always returns false. And in the testSegment it seems to check only the segments and not the inside. Aren't they complete? When are they going to be?
Or is this way of allowing players to jump not good?
(I really like the edge shapes since I can merge many polygons into one and it speeds up my game.)
~ boscop
in my game I'm using the edge shapes as terrain. When the player wants to jump, if the line to his feet intersects with a body he can jump. It works fine with polygons but not with those edge shapes. I saw that there is a testPoint function that always returns false. And in the testSegment it seems to check only the segments and not the inside. Aren't they complete? When are they going to be?
Or is this way of allowing players to jump not good?
(I really like the edge shapes since I can merge many polygons into one and it speeds up my game.)
~ boscop