<div dir="ltr"><div>The way I'd tackle dragging of objects in model space that are billboarded icons would be to project the mouse coords into clip coords then into object space using the matrices inverse of the (projection * view * model). You'd also need to compute the depth to use, this could be computed by taking the original object space into clip coords, then using this in the mouse clip coords to object space multiplication.</div><div><br></div><div>Hopefully this makes sense. It's a bit of advance topic as it requires understanding how matrices are used in the scenegraph/3D graphics.<br></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/27951025-2b7f-451e-ab1f-197771929a93%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/27951025-2b7f-451e-ab1f-197771929a93%40googlegroups.com</a>.<br />