Releases: needle-tools/needle-engine-support
Releases · needle-tools/needle-engine-support
3.47.6
Needle Engine
- Fix: USDZ animation interpolation. We're now using timesamples for
translation
,orientation
andscale
separately. This fixes an issue with animation optimization (optimization removing redundant keyframes) to just 2 keyframes where matrix timesamples would produce unexpected interpolations - Change: inline mesh bvh worker
Unity Integration
- Minor console log fix
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
Needle Engine Blender Addon 0.51.2
- Fix: Export issue if addon gets disabled and user tries to export a glTF
- Update: Needle Engine to 3.47.6-beta
3.47.5-pre.1
Needle Engine
- Add:
screenshot
option to output a texture - Fix:
screenshot
method when using a camera with a RenderTexture assigned - Fix:
ObjectUtils.createPrimitive
option linting - Change: Addressables
instantiate
method now returns Object3D type
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
3.47.5-pre
Needle Engine
- Fix: Shader warmup when loading glTF file containing only materials (no scenes)
- Fix: OrbitControls
autoTarget
option causingsetLookTargetPosition
to be overriden during the first frame - Fix: Compressed RenderTexture not being updated on objects in the scene
- Fix: Physics mesh BVH generation on worker caused raycasts during processing to not work until the BVH was ready
Additional changes for Needle Engine 3.47.4-beta
- Add: Support loading of glTF files in
<needle-engine src="...">
that don't contain any objects/scenes but just materials. These glTF files will be rendered with a shaderball - Fix: three.js changing environment texture while in XR
- Fix: three.js OrbitControls zoom damping
- Fix: GroundProjectedEnv error when setting
height
as part of init properties as part ofaddComponent(..., { height: 4 })
- Fix: OrbitControls
minZoom
andmaxZoom
should be applied during update - Fix: Regression in ParticleSystem trail rendering where
mode
was not set correctly - Change: Camera
backgroundBlurriness
andbackgroundIntensity
should be undefined by default - Change: OrbitControls
fitCamera
can now also take a single object as a first parameter
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
3.47.4-pre
Needle Engine
- Add: OrbitControls
fitCamera
method overload which can directly take an options parameter. E.g. it can be invoked withfitCamera({ immediate: false })
- Fix: Lifecycle hooks like
onStart
andonInitialized
are now properly called again for new subscribers - Fix: Regression in raycasting with multi-material objects
- Fix:
<needle-engine>
canvas highlighting with touch on iOS - Fix: Issue where automatic camera change stopped working
- Fix:
screenshot
should update the camera aspect ratio before rendering - Fix: Physics raycasts do now run basic geometry validation
- Change: The WebGL context is now automatically restored when lost
Unity Integration
- Fix: OSX commands using
npx
- Fix: Needle Engine classes declared like
export default class
are now automatically picked-up as well - Internal: OSX bugreports now include the Editor.log files
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
Needle Engine Blender Addon 0.51.1
- Fix: Issue with drawing the projects panel
3.47.3-pre
Needle Engine
- Add: Improved ParticleSystem MinMaxCurve and MinMaxGradient types with utility methods (
constant
,betweenTwoColors
/setConstant
,setMinMaxConstant
,setCurve
) - Add: preliminary support for MX Ink pens
- Add: NeedleXRController
pinchPosition
getter for hand tracking - Add: SceneSwitcher add
sceneLoaded
Eventlist - Add: DragControls static
CurrentlySelected
getter to access all currently active DragControls components - Fix: Gizmo label offset
- Fix: XRControllerFollow on VisionOS with hand tracking
- Fix: Vision OS depth buffer workaround (FB14720123)
- Fix: emulate grip space for hands that don't have grip space
- Fix:
screenshot2
should use passed in camera - Fix: nextjs plugin fix for error caused by mesh bvh worker integration
- Fix:
input.mouseDoubleClick
getter - Fix: EventList invocation with custom arguments (e.g.
myEvent.invoke("test")
)
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
3.47.2-pre
Needle Engine
- Add: Type definitions for Object3D Needle Engine extension methods like
addComponent
orworldPosition
- Add: ObjectUtils
createText
- Add: static
BoxCollider.add
method - Add: Experimental util method
PlayerSync.setupFrom
to easily setup networked player representations - Add: ContactShadows
minSize
property - Fix: ShadowCatcher should set
receiveShadow
to true - Fix: Animation
play
should restart the animation if it's at the end - Fix: ContactShadows should ignore Line materials
- Fix: SyncedRoom component is easier to setup from code
- Fix: Properly resolve EventList calls when using
instantiate
to the new instances - Fix: WebXR simulator hand gesture calculation
- Fix: WebXR desktop preview with postprocessing enabled
- Fix: WebXR input
click
detection - Change: Physics collider center x should not be flipped. Instead the exporters need to ensure the correct space
Unity Integration
- Add: Basic Everywhere Actions Unity Runtime implementation:
- ChangeMaterialOnClick
- ChangeTransformOnClick
- HideOnStart
- PlayAnimationOnClick
- PlayAudioOnClick
- SetActiveOnClick
- Add: Improved support for importing glTF files with asset references:
- Import of AudioSource component with referenced AudioClip file
- Import of VideoPlayer component with referenced VideoClip file
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
Needle Engine Blender Addon 0.51.0
- Add: Initial
File/Export glTF
options for Needle Engine to allow exporting files that only contain the Needle Engine Components that are setup in the scene. - Fix: Issue where AnimatorController condition export didn't work properly when the blend file contained multiple controllers
- Update: Needle Engine to 3.47.2-beta
3.47.1-pre
Needle Engine
- Add: Voip microphone button option to allow users to mute and unmute themselves
- Add: More jsdoc documentation
- Add: NeedleXRController
emitPointerDown
,emitPointerUp
andemitPointerMove
properties to control if the controller should emit pointer events to the Needle Engine Input System - Add: NeedleXRController
pointerMoveDistanceThreshold
andpointerMoveAngleThreshold
for changing when controllerpointermove
events are emitted. These values can be set to 0 to emit events every frame or larger values to reduce the number of events emitted. - Add: Support to disable SpatialGrabRaycaster by setting the static property
SpatialGrabRaycaster.allow = false
- Fix: Improved audio and voicechat streams when using the Voip component to more reliably play audio and connect to all users in the room
- Fix: Prevent browsers translation of HTML icons
- Fix: Issue with Application audio playback permissions check
- Fix: SpriteRenderer setting
renderOrder
must be rounded to an integer - Fix: Vite issue where mesh bvh worker was not found in local dev server
- Fix: Mesh BVH should not raycast on meshes that don't have a position attribute
- Change: EventSystem now respects used events. This means if you subscribe to
pointerdown/pointermove/pointerup
with the queue set to a negative value and callevent.use()
orevent.preventDefault()
the EventSystem will ignore the event.
Unity Integration
- Add: Voip
createMenuButton
option - Add: AudioSource expose
PlayInBackground
option
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples