How to implement model tagging

Hello, I’d like to know how I can easily implement a tagging functionality to highlight a selected part of the model with something like a blue spot when user clicks model with pointer input. If possible i’d also like to create a free hand tool where user can drag on model and create a path highlight of the selected part.

Hey
you can pick with scene.pick() like here:
https://playground.babylonjs.com/#NU4F6Y#0

1 Like

This works well to drop a shape at the picked point. I still have to figure out how to draw a trail when user drags mouse on model… But this effectively solves the first problem.