Hi All-
I use baked (world) vertices for my custom meshes which makes using gizmos a little tricky.
What I want to do is have a rotation gizmo whose axis is the center of my mesh. This playground does this by setting the pivot of the mesh to be the center of the bounding box of the mesh and then attaching the gizmo to the mesh.
It works but the gizmo is located at (0,0,0), which makes sense since that’s the position of the mesh transform.
I imagine I can use a transform node to center the gizmo on the mesh but I can’t quite figure out how.
Any thoughts?
Thanks-
Flex