How to Clamp entity with 3D Models

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

Please provide any suggestion.

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

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