cem.orsel Posted August 27, 2014 Posted August 27, 2014 Hi, I want to simulate a mirror in a car model. What I want to do is similar to gui_02 sample, but rather than an ObjectGui (which is handled as an object in world space), I want the mirror view to be rendered in screen space, much like a window or a canvas. Is there a way to attach a WidgetSpriteViewport object to a window or canvas, or some other suggestion to handle the task? Thanks. PS: I thought of updating the ObjectGui's transformation matrix according to the active player in each frame so that it stays in place, but I assume that is a very very inefficient solution.
cem.orsel Posted August 28, 2014 Author Posted August 28, 2014 Solved by making WidgetSpriteViewport directly a child of engine.getGui().
Recommended Posts