[osg-users] Absolute/world position
Johny Canes
psijsma at gmail.com
Mon Sep 24 09:33:32 PDT 2018
Hi,
Like this unanswered thread from 2011 (http://forum.openscenegraph.org/viewtopic.php?t=8366) suggests, replacing the bounds center with a vec3(1,1,1) is much better.
Code:
Vec3(1,1,1) * computeLocalToWorld(pat->getParentalNodePaths()[0]);
This gives me the result I'm looking for.
Thank you!
Cheers,
Johny
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74968#74968
More information about the osg-users
mailing list