Help with "bounce ball off wall code"

Miscellaneous Forums/General Discussion/Help with "bounce ball off wall code"

If your walls are not vertical or horiztonal you need to
a) Find the vector describing the line.
b) Find the normal vector
c) Nomalise it (and reverse it I think).
d) Find the dot product
e) Calculate the final velocity.