# Stop vibration/moving on collision? (example playground )

**URL:** <https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101>\
**Category:** Questions\
**Created:** [January 31, 2019, 10:22pm UTC](https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101 "2019-01-31T22:22:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjshipe](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tjshipe/32/194_2.png) [@tjshipe](https://forum.babylonjs.com/u/tjshipe)\
**Post date:** [January 31, 2019, 10:22pm UTC](https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101/1 "2019-01-31T22:22:07Z")

</div>

I am trying to create a collision effect similar to the babylonjs viewer. Where I can zoom in very close to a 3d model but not go through it. [The Babylon.js Viewer - Babylon.js Documentation](https://doc.babylonjs.com/extensions/the_babylon_viewer)

I don’t know how the bablyonjs viewer is setup. But in my current playground when you collide in the center of the crescent moon mesh, the whole mesh vibrates. How can I prevent this? Also if you move the moon mesh slightly left or right and zoom in all the way it starts rotating the mesh on collision. Can I prevent this?

[https://playground.babylonjs.com/#TZTHV1#3](https://playground.babylonjs.com/#TZTHV1#3)

(For some reason I had to create a camera first and then create the defaultcamera again once the mesh was loaded to get the mesh centered in the camera.)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 1, 2019, 12:34am UTC](https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101/2 "2019-02-01T00:34:54Z")

</div>

Ther viewer is using a camera behavior: [Apply Camera Behaviors - Babylon.js Documentation](https://doc.babylonjs.com/how_to/camera_behaviors#bouncing-behavior)

---

<div class="post-metadata">

**Author:** ![tjshipe](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tjshipe/32/194_2.png) [@tjshipe](https://forum.babylonjs.com/u/tjshipe)\
**Post date:** [February 1, 2019, 12:51am UTC](https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101/3 "2019-02-01T00:51:19Z")

</div>

Just what I needed. Thanks

---

<div class="post-metadata">

**Author:** ![tjshipe](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tjshipe/32/194_2.png) [@tjshipe](https://forum.babylonjs.com/u/tjshipe)\
**Post date:** [February 1, 2019, 5:09am UTC](https://forum.babylonjs.com/t/stop-vibration-moving-on-collision-example-playground/1101/4 "2019-02-01T05:09:33Z")

</div>

Is there a behavior I can set to get the rest of the viewer’s defaults? I’m mainly looking to recreate that light grayish background and the lighting on that “clear” floor.
