Adding an object to an orthographic camera without its frustum affecting its perceived shape

I have a scene where the camera’s frustum changes in response to changes in the window’s height and width.

I want to add an object to the scene that serves as part of on-screen-display, like health bar in games or something similar. Is there a way for me to do that such that changing the frustum won’t make that object look different? I thought about adding the camera to the scene and adding that object to the camera, but it didn’t work (assuming I did it correctly).

Thanks

For a 3D OSD, definitely you need to add it to the camera, and the camera to the scene.

The object will change size and position (and possibly aspect ratio) based on how are you modifying the frustum in your onresize event. We need more information to help you.