The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Object Jittering on the floor with spatial mapping
I have an object that is flying in to the wall and after the crash it falls to the floor. The object falls only with gravity. I want it to just lay still when it hits the floor instead of gliding around and jitter like it does now. Is ther an easy way of doing this? Can i seperate the floor from the wall or do i need different colliders on the object in the front and bottom?
Best Answer
-
Optionsahillier mod
Hi @SuperKodama,
Does the rigidbody component on your object have 'Collison Detection' set to 'Continuous'? If so, you might get better results by changing it to 'Discrete'.You could check the spatial mapping normals to know if you hit a wall vs floor and then change your collision detection after hitting the floor, or maybe disable the rigidbody so the objects stops responding to physics after hitting the floor.
You can also try changing the mass/drag/angular drag so the object is not so easily affected by bumps on the floor.
5
Answers
Hi @SuperKodama,
Does the rigidbody component on your object have 'Collison Detection' set to 'Continuous'? If so, you might get better results by changing it to 'Discrete'.
You could check the spatial mapping normals to know if you hit a wall vs floor and then change your collision detection after hitting the floor, or maybe disable the rigidbody so the objects stops responding to physics after hitting the floor.
You can also try changing the mass/drag/angular drag so the object is not so easily affected by bumps on the floor.