I am developing a game which is based on optical items like mirrors and lenses. I have a beam. If beam will hit a optical item it should reflect depending on the physics rules. I know the beam's directions. So i need to detect the collision with optical items so i cant calculate the reflection. What would be the best way to implement optical items in java to detect collision with beam and optical item. Boundary box model will not fit my situation. I am thinking to use polygons. It will easy to detect collision point(x,y) but optical items can be rotate so the calculating the angles and reflection seems will hard to do.
What do you recommend?