How to Clamp entity with 3D Models

Hi Team,
Is there any way to clamp the entity on the 3D models?

@Gabby_Getz
Please provide any suggestion.

Hi @Shashi, I believe scene.clampToHeight will work for this case.

@Gabby_Getz
It’s not working.
It’s clamping entity to the earth not to the 3D models surface.

@Shashi See this example for clamping entities to a model

1 Like

thanks it’s working