# Scene.pick返回值有偏差

**URL:** <https://forum.babylonjs.com/t/scene-pick/9982>\
**Category:** Bugs\
**Created:** [April 14, 2020, 10:43am UTC](https://forum.babylonjs.com/t/scene-pick/9982 "2020-04-14T10:43:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jerry/32/7831_2.png) [@jerry](https://forum.babylonjs.com/u/jerry)\
**Post date:** [April 14, 2020, 10:43am UTC](https://forum.babylonjs.com/t/scene-pick/9982/1 "2020-04-14T10:43:43Z")

</div>

![微信图片_20200414183605](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/5/56faf885b44e5a512eecee294db65be14b0e0c88.png)

When the camera is far away from the scene, the coordinates returned after the mouse click is inaccurate.  
The engine version is 4.2.0-alpha.11

let canvas = document.getElementById(‘renderCanvas’);  
let engine = new BABYLON.Engine(canvas, true, {useHighPrecisionFloats: false}, true);  
let scene = new BABYLON.Scene(engine);  
let camera = new BABYLON.UniversalCamera(“UniversalCamera”, BABYLON.Vector3.Zero(), scene);  
scene.onPointerUp = (event, info) =\> {  
let pickResult = scene.pick(scene.pointerX, scene.pointerY);  
if (pickResult.hit) {  
console.log(pickResult.pickedPoint);  
}  
};

---

<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:** [April 14, 2020, 2:12pm UTC](https://forum.babylonjs.com/t/scene-pick/9982/2 "2020-04-14T14:12:15Z")

</div>

This is a known issue with realtime rendering. We are losing precision when objects are far from the camera.

Unfortunately the best options are:

- Move the world and not the camera
- Or reduce the distance (like divide everything by 100 for instance)

---

<div class="post-metadata">

**Author:** ![jerry](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jerry/32/7831_2.png) [@jerry](https://forum.babylonjs.com/u/jerry)\
**Post date:** [April 17, 2020, 6:51am UTC](https://forum.babylonjs.com/t/scene-pick/9982/3 "2020-04-17T06:51:06Z")

</div>

Thank you 😃
