This post contains release-information and changelogs for Needle Engine and our integrations
Find all releases on github at Releases · needle-tools/needle-engine-support · GitHub
This post contains release-information and changelogs for Needle Engine and our integrations
Find all releases on github at Releases · needle-tools/needle-engine-support · GitHub
physics.raycast() now use a spatial grid solution under the hood to improve raycasting performance. (This can be disabled in the raycasting options by setting useAcceleratedRaycast: false)physics.engine.raycast methods now have an option to ignore the ignoreRaycastLayer on the Object3D (the three.js layer 2 is used to exclude objects from raycasting. This means setting layers.set(2) is equivalent to “Do not raycast on this object”)
Download Unity Plugin
View on npm
Changelog on Github
Needle Engine API
Learn More
emitPointerDown, emitPointerUp and emitPointerMove properties to control if the controller should emit pointer events to the Needle Engine Input SystempointerMoveDistanceThreshold and pointerMoveAngleThreshold for changing when controller pointermove 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.SpatialGrabRaycaster.allow = falserenderOrder must be rounded to an integerpointerdown/pointermove/pointerup with the queue set to a negative value and call event.use() or event.preventDefault() the EventSystem will ignore the event.createMenuButton optionPlayInBackground option
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
addComponent or worldPositioncreateTextBoxCollider.add methodPlayerSync.setupFrom to easily setup networked player representationsminSize propertyreceiveShadow to trueplay should restart the animation if it’s at the endinstantiate to the new instancesclick detection
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
File/Export glTF options for Needle Engine to allow exporting files that only contain the Needle Engine Components that are setup in the scene.constant, betweenTwoColors / setConstant, setMinMaxConstant, setCurve)pinchPosition getter for hand trackingsceneLoaded EventlistCurrentlySelected getter to access all currently active DragControls componentsscreenshot2 should use passed in camerainput.mouseDoubleClick gettermyEvent.invoke("test"))
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
fitCamera method overload which can directly take an options parameter. E.g. it can be invoked with fitCamera({ immediate: false })onStart and onInitialized are now properly called again for new subscribers<needle-engine> canvas highlighting with touch on iOSscreenshot should update the camera aspect ratio before renderingnpxexport default class are now automatically picked-up as well
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
autoTarget option causing setLookTargetPosition to be overriden during the first frame<needle-engine src="..."> that don’t contain any objects/scenes but just materials. These glTF files will be rendered with a shaderballheight as part of init properties as part of addComponent(..., { height: 4 })minZoom and maxZoom should be applied during updatemode was not set correctlybackgroundBlurriness and backgroundIntensity should be undefined by defaultfitCamera can now also take a single object as a first parameter
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
screenshot option to output a texturescreenshot method when using a camera with a RenderTexture assignedObjectUtils.createPrimitive option lintinginstantiate method now returns Object3D type
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
Mathf.random() can now also accept an array to randomly select an elementpitch propertyaddSprite methodtexture setter to change the texture of the currently rendered spritesprite setterscreenshot() supportSoftness property to adjust the softness of the color transition
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
translation, orientation and scale separately. This fixes an issue with animation optimization (optimization removing redundant keyframes) to just 2 keyframes where matrix timesamples would produce unexpected interpolations
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
gather_animation_channel_hook method signature causing export error due to inconsistent hook in Blender’s glTF exporter #2337copyRotation and keepUp are active
invertForward to get the same result as before.arScale againNeedleXRSession.start("immersive-ar") now exports to USDZ when called on iOS (experimental)Quit XR button for screen based AR experiences (in favor of the X icon at the top right corner)copyTargetRotation is now disabled automatically during VR/passthrough AR sessionAdditional changes for Needle Engine 3.47.7
# Alias OBJminAzimuthAngle and maxAzimuthAngleOpen Workspace button on npmdef asset will now open the vscode workspace directly (instead of the main web project workspace)
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
removeEffect does now also remove effects from assigned sharedProfile
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
<needle-engine> attributes for background-color, background-blurriness and background-imageAutoReference in Needle Engine Common AssemblyDefinition for easier access to types like FileReference
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started
Download Unity Plugin
Install from NPM
Changelog on Github
Needle Engine API
Get started