I have built a ball that bounces around my office. In unity it bounces perfectly but when I debug the project in the holo lens 2 the ball goes through the ground, it’s as if I didn’t recognize the ground. What scripts should I put to recognize my office well?
In the ball I have a “Rigidbody” with IsGravity true, and in the SpatialMapping I have the “IsKinetic” true.
In:
there are two scripts:
- Spatial mapping renderer
- Spatial mapping collider
to work with spatial mapping but when I select this script in Unity a warning shows and It says that the scripts are deprecated. I dont know if exists new scripts or not. A lot of documentación is for Holo lens 1 but not for Holo lens 2.