When the piano spawns through ground taps itβs pivot is in the center of the object and the piano loads in the ground. The cactus has a pivot at the base of the object. Should models be generated so the pivot is at the base or is there a way to reset new models to have the pivot at the base?
The easiest way to fix the issue would be to adjust the pivot point in 3d modeling software. For example, you could simply open the model in blender, move the model above the ground plane, then re-export as a glb.
To fix this in code, you would need to adjust the y value of the touchPoint vector before itβs used to set the position of the spawned entity.