Rotation colliders (a new invention)?

Hello,
I may have a new idea for the Unity developers. Do you know how colliders involve mostly vectors (where when a camera has a collider attached, other objects that also have colliders attached to them move and rotate when the camera runs into them)?

What about situations like doors (where the pivot points do NOT move, but they only rotate) causing door to stay at the same positions? Wouldn’t it be nice if the Unity developers invented ‘Rotation colliders’ where each door (in this example) can rotate from eulerAngles (0,90,0) to (0,0,0) UNTIL the door hits the player (to calculate what exact euler angle the door should be placed at between these 2 given euler angles)? In this example, the door could then be given a ‘raycast rotator’ going from (0,90,0) to (0,0,0) and if nothing touches the door, it would keep the door at (0,0,0). What do you think of this idea?

Sincerely,
Michael S. Lowe

However, I think what you want could be done through scripting.

Wouldn’t you just put a box collider on the part that rotates? If it hits something, have the rotation stop.

–Eric