Releases: needle-tools/needle-engine-support
Releases · needle-tools/needle-engine-support
Needle Engine Blender Addon 0.51.3
- Revert change in
gather_animation_channel_hook
method signature causing export error due to inconsistent hook in Blender's glTF exporter #2337
3.47.6-pre
Needle Engine
- Add:
Mathf.random()
can now also accept an array to randomly select an element - Add: AudioSource
pitch
property - Add: SpriteRenderer
addSprite
method - Add: SpriteRenderer
texture
setter to change the texture of the currently rendered sprite - Fix: SpriteRenderer
sprite
setter - Fix: OrbitControls double click to focus should not focus if the click was already used (e.g. by a button)
- Fix: XR
screenshot()
support - Fix: DragControls now work with physical objects again e.g. Rigidbodies that react to gravity
Unity Integration
- Add: SkyboxGradient shader
Softness
property to adjust the softness of the color transition - Add: Few more Gradient Skybox Materials
- Fix: Custom Cubemap export validation
- Fix: Npmdef component generation should allow abstract classes
Links
Download for Unity • Download for Blender • Documentation • API • Live Samples
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