THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/07/2010 at 03:04, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Hello
I am getting some strange values when trying to convert mouse position from world space to screen space in
Bool MyObject::MoveHandle(PluginObject *op, PluginObject *undo, const Matrix &tm, LONG hit_id, LONG qualifier) {
...
bd->WS(tm.off);
...
}
it all works well until the camera is in front of the world center (0,0,0), as soon as the camera goes trough center (so the center is behind camera) the return of WS skyrocket to very high numbers.
Anyone know how to get pass this?
Thanks