I was wanting to customize the boundingboxgizmo so that when a node is selected it puts the nodes name or uniqueid in a corner of the boundingbox. Is this do able? If so any pointers on how I could do that?
Would be best if you create a playground, but the approach I’d take is:
- Monitor
BoundingBoxGizmo.attachedNode(there doesn’t seem to be anonNodeAttachedObservableunfortunately) - When not null, get
attachedNode.name - Display name using a billboarded, mesh-linked GUI TextBlock or Hotspot
- If instead of linking to the attached mesh, you could just grab a reference to one of the
BoundingBoxGizmo’s corner drag handle meshes and link the mesh name text label to that.
2 Likes
I used gemini and it created one for me, a couple of small tweaks and it works great.
2 Likes