xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

DistanceMeasurementsPlugin get event with worldNormal when hover surface

Open g-rodigy opened this issue 2 years ago • 0 comments

v2.4.1 I trying to add different pointer like rectancgle rotated parallel to the surface, when hover surface.

So, change param pickSurfaceNormal to true, but sometimes got in DistanceMeasurementsPlugin event with worldNormal: [NaN, NaN, NaN] https://github.com/xeokit/xeokit-sdk/blob/a510a96c848374e3cae71d86773f3124967a0a2c/src/viewer/scene/CameraControl/lib/controllers/PickController.js#L151

Or is has a better way?

Versions higher up v2.5.1-beta not working, loading stops when browser abort execution due to out of memory.

g-rodigy avatar Dec 23 '23 22:12 g-rodigy