Forum

Bouncing a line off a plane

Hi
I want to simulate a trayectory of a line which will bounce on multiple movable planes, what s the best approach?
S.

compute trajectory, test for hit, compute bounce & new trajectory, test for hit, test for hit, compute bounce & new trajectory … ?
oh and connect the dots in the end.

did that solve your problem? otherwise you might need to be a little more specific

if its 2d this might probably help you as it does the math for you ;) 2d-circle-line-intersections