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.