Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - AO

Pages: [1]
1
Support / Surface Normal
« on: May 14, 2013, 08:20:21 pm »
Hey there. I gotta do some ball bouncing over a cube, which is obviously an even surface. When I detect the collision I'm trying to get the corresponding surface normal. Since it is a cube, which is no rotated nor moved or anything, I expect to get a normal with only one axis component (i.e.:[0.0, -1.0, 0.0]), but I get different values for different collision events, even though the ball is bouncing all the time over the same side on the mentioned cube. The normals I get are close to the one I expect, but are not exactly the ones I'm expecting, thus creating some funny behaviour on some bounces (as if the surfave was kind of rugged). Please if someone can help me out, I'd appreciate it. Cheers!

Pages: [1]