Jump to content

[SOLVED] WidgetManipulator with ortho projection


photo

Recommended Posts

Hi, I'm trying to use WidgetManipulators with an orthographic projection, but I'm getting strange results compared to my player object that has a perspective field of view. Simple question, is this possible or would this be a problem with my implementation?

Link to comment

As the projection from an ortho near and far is the same box shape, I think it is assuming that all objects are at my zFar distance away since the translation and scaling rate seem to be related to this value. If I am correct I should be able to make a workaround by diving the transform of the manipulator (using the Unigine::getTransformTranslate/scale methods) by the zFar value. As for rotation, that manipulator just doesn't work at all in ortho.

Link to comment
×
×
  • Create New...