Releases: ultraleap/UnityPlugin
Releases · ultraleap/UnityPlugin
Core Assets 4.4.0
Leap Motion Unity Core Assets 4.4.0 Changelog
- Supported Unity versions: 5.6.2, 2017.1-4, 2018.1.
VR Rig Simplification
- The number of scripts required to construct a Leap Motion-enabled VR rig has been greatly reduced, and the required rig hierarchy has been heavily simplified. Hand data that is adjusted correctly for XR headset and device latency can now be gotten by adding a single component to the Main Camera, and the hand model pipeline has been simplified to a single manager component driving managed model components. If you are upgrading from an older project that incorporated Leap rigs from Core 4.3.4 or earlier, you can auto-upgrade these rigs by opening the scene that contains them and checking the new Leap Motion SDK window: Window->Leap Motion.
Leap SDK
- Added the Leap Motion SDK Window, accessible via Window->Leap Motion. Use this window to scan and upgrade old (Core 4.3.4 and earlier) Leap rigs, check settings for the Interaction Engine, and adjust module preferences for the Graphic Renderer.
- The LeapCSharp source is now provided directly in UnityModules and no longer hidden behind a managed DLL. It has received some upgrades in the process, and although it's still a little rough around the edges, it is a useful reference if you would like to construct LeapC bindings for a new language.
- Added VectorHand, one of many potential lightweight encodings of a Leap Hand. This lossy encoding is suitable for lightweight recording and playback or network transmission.
- Fixed a bug where hand.TimeVisible was not being set with the correct units.
- Added the PostProcessingProvider base class, a pattern for applying your own post-processes to Leap frame data.
- Added an example scene demonstrating a stateless and a stateful PostProcessProvider: ProjectionPostProcessProvider and InertiaPostProcessProvider.
Utilities
- Query system: Overhauled to remove reliance on type-generic structs to support IL2CPP.
- BitConverter no longer requires unsafe code EXCEPT when targeting IL2CPP. If you wish to compile using IL2CPP, you must allow unsafe code.
- Added an ArrayPool data structure, used by the overhauled Query system.
- Fixed an issue when ImplementsInterface attribute was used for ScriptableObjects.
- Added some Runtime Gizmo drawing functions, such as DrawEllipsoid.
- added SigmoidUpDown as a DefaultCurve for quick AnimationCurve initialization.
- Removed a warning when Hands.Provider returned null, since many valid scenes may simply not be set up for Leap devices.
UI Input 1.2.2
- Updated to support Unity 2017.3
Interaction Engine 1.1.1
- Updated to support Unity 2017.3
- Added ability to force a controller to grasp an object
- Fix a bug where the physics representation of the hands would explode sometimes when switching between curved spaces
- Added the SwapGrasp function and a corresponding example scene, allowing you swap a grasped object with another object in the scene.
- Correctly account for the Physics.autoSyncTransforms state during the Interaction Manager update.
Hands 2.1.3
- Updated to support Unity 2017.3
- Renamed IHandModel to HandModelBase
Graphic Renderer 0.1.2
- Updated to support Unity 2017.3
- Allowed you to disable or enable a graphic without detaching or re-attaching the graphic.
- Disabled graphics are no longer visible!
- Disabling and Enabling graphics is now lightning fast!
- Improved dirty detection to reduce rebuild situations
- Fixed several edge cases
Core Assets 4.3.4
- Updated to support Unity 2017.3
- Renamed IHandModel to HandModelBase
- Improved physics interpolation in LeapServiceProvider
- Fixed bug where graphic renderer inspector would fail when the user uses unpacked sprites.
- Added callouts to notify users that unpacked sprites are not supported in the Graphic Renderer.
- Added a new Pose struct to keep track of a point in space with a position and an orientation
- Added extra operations for Query (Conversion, Repeat, Uniform, and default Sequences)
- Added the CurveBounds attribute for AnimationCurve values
- Added default AnimationCurve types
- Added many Rect utilities (area, expansion, encapsulation...)
- Added DrawPosition to the RuntimeGizmos
- Improved ImplementsInterface attribute (now supports ScriptableObject)
- Added cubic hermite splines (with float, Vector2, and Vector3 variants)
- Added a swizzle class to allow you to swizzle Vector2, Vector3, and Vector4 structs
- Added many general utility functions / fixed bugs
Detection Examples 1.0.5
- Updated to support Unity 2017.3
Attachments 1.0.6
- Updated to support Unity 2017.3
Core Assets 4.3.3
This is a hotfix release addressing an issue with the warpingAdjustment variable, which was previously renamed to _warpingAdjustment without using the [FormerlySerializedAs] attribute. This resulted in the adjustment value reverting back to its default value, which was 60. The recommended value for PC experiences is 17, and so this introduced a 43-millisecond difference in the warping effects, causing significant swim when the user moved their head.
- Renamed the variable, again without using the [FormerlySerializedAs] attribute. This is intentional so that any bad values that have been saved into developer's scenes get discarded and overwritten by the new good default, 17.
- Made it so that unless _allowManualTimeAlignment is checked, the adjustment value will do NOTHING. Instead the value is driven by a constant. This is so that if we want to push out a new value for the default adjustment value in the future, we can just update the constant and all developer's scenes will be automatically updated.
Unity Core Assets 4.3.2
This is a hotfix release to fix a crash that could occur on some 64 bit systems under heavy memory usage.