Hi
Can I use Box2d to simulate ray of light and its reflection from the mirror. The ray should has some length and when it reflected by the mirror should looks something like shown on the first attached file. On the next simulation step the ray should looks like show on the second attached file.
Horizontal black line is a mirror surface. Red line is the ray. The ray is moving from left to right then reflected the mirror and start moving right to left.
thx
alex
Can I use Box2d to simulate ray of light and its reflection from the mirror. The ray should has some length and when it reflected by the mirror should looks something like shown on the first attached file. On the next simulation step the ray should looks like show on the second attached file.
Horizontal black line is a mirror surface. Red line is the ray. The ray is moving from left to right then reflected the mirror and start moving right to left.
thx
alex