3.47.0-pre
marwie
released this
31 Jul 12:54
·
119 commits
to main
since this release
Needle Engine
- Add: accelerated raycasting using three-mesh-bvh. All calls to
physics.raycast()
now use a spatial grid solution under the hood to improve raycasting performance. (This can be disabled in the raycasting options by settinguseAcceleratedRaycast: false
) - Add:
physics.engine.raycast
methods now have an option to ignore theignoreRaycastLayer
on the Object3D (the three.js layer 2 is used to exclude objects from raycasting. This means settinglayers.set(2)
is equivalent to "Do not raycast on this object") - Minor UI performance improvements
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples