Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm using Box2D.

I think it's something to do with wall's fixture definition, but when a ball goes toward a wall at a 45 degree angle, I would expect it to bounce off at 135 degrees, but it always goes 90 degrees against wall. Why would this be?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I was setting a large restitution value (greater than 1), that caused the problem.

share|improve this answer
    
Even if it seems silly, you should mark this the answer to your problem. –  William 'MindWorX' Mariager Jan 16 '12 at 3:44
1  
@MindWorX I understand that but system does not allow me to do it until two days after writing the question. –  Tae-Sung Shin Jan 16 '12 at 4:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.