Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ExtendRealityLtd/Zinnia.Unity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.15.0
Choose a base ref
...
head repository: ExtendRealityLtd/Zinnia.Unity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.16.0
Choose a head ref
  • 8 commits
  • 7 files changed
  • 3 contributors

Commits on Apr 17, 2024

  1. feat(Tracking): apply distance offset on position difference rotation

    The TransformPositionDifferenceRotation logic now has a source to
    offset maximum distance setting that will be activated if the
    `Apply Offset` is to true. This will ensure the rotation will only
    be applied when the source and offset are within the given distances
    and anything outside of those distances will be ignored.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    208570d View commit details
    Browse the repository at this point in the history
  2. fix(Data): prevent null exception in collapsible drawer in 2022.3

    Due to a change in Unity 2022.3, there is now no actual need to do
    the reflection for replacing a default drawer and in fact the
    attempt to get `DrawerKeySet` will return a null, thus causing the
    existing error.
    
    The fix is to simply do a null check to prevent the error and the
    reflection will simply be ignored on versions of Unity of 2022.3
    and above.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    2ce9cef View commit details
    Browse the repository at this point in the history
  3. feat(Data): add script define to disable collapsible drawer

    The custom collapisble drawer editor modification can now be disabled
    by setting a scripting define symbol of
    `ZINNIA_IGNORE_CUSTOM_COLLAPSIBLE_DRAWER`.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    36f978b View commit details
    Browse the repository at this point in the history
  4. feat(README.md): add section describing custom script define symbols

    The various script define symbols that are added by Zinnia are now
    documented to make it easier to know when to use them.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    3238142 View commit details
    Browse the repository at this point in the history
  5. feat(Cast): make drag curve offset a vector3

    The Drag Curve Offset is now a Vector3 allowing the curve offset to
    be applied to any axis rather than just the back axis.
    
    To replicate the orignal setting, just change the Z axis to a negative
    value and this will replicate the same as the Vector3.back * offset.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f90f1e8 View commit details
    Browse the repository at this point in the history
  6. feat(Cast): add raycast hit validity rule for points cast

    The PointsCast now has a RaycastHitValidity rule that will allow
    any data within the cast RaycastHit to be used within a rule for
    any custom.
    thestonefox committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    170a241 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #592 from ExtendRealityLtd/feat/fixes-and-additions

    Feat/fixes and additions
    thestonefox authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    80ca814 View commit details
    Browse the repository at this point in the history
  8. chore(release): set version to 2.16.0 [skip ci]

    ## [2.16.0](v2.15.0...v2.16.0) (2024-04-17)
    
    #### Features
    
    * **Cast:** add raycast hit validity rule for points cast ([170a241](170a241))
      > The PointsCast now has a RaycastHitValidity rule that will allow any data within the cast RaycastHit to be used within a rule for any custom.
    * **Cast:** make drag curve offset a vector3 ([f90f1e8](f90f1e8))
      > The Drag Curve Offset is now a Vector3 allowing the curve offset to be applied to any axis rather than just the back axis.
      >
      > To replicate the orignal setting, just change the Z axis to a negative value and this will replicate the same as the Vector3.back * offset.
    * **Data:** add script define to disable collapsible drawer ([36f978b](36f978b))
      > The custom collapisble drawer editor modification can now be disabled by setting a scripting define symbol of `ZINNIA_IGNORE_CUSTOM_COLLAPSIBLE_DRAWER`.
    * **README.md:** add section describing custom script define symbols ([3238142](3238142))
      > The various script define symbols that are added by Zinnia are now documented to make it easier to know when to use them.
    * **Tracking:** apply distance offset on position difference rotation ([208570d](208570d))
      > The TransformPositionDifferenceRotation logic now has a source to offset maximum distance setting that will be activated if the `Apply Offset` is to true. This will ensure the rotation will only be applied when the source and offset are within the given distances and anything outside of those distances will be ignored.
    
    #### Bug Fixes
    
    * **Data:** prevent null exception in collapsible drawer in 2022.3 ([2ce9cef](2ce9cef))
      > Due to a change in Unity 2022.3, there is now no actual need to do the reflection for replacing a default drawer and in fact the attempt to get `DrawerKeySet` will return a null, thus causing the existing error.
      >
      > The fix is to simply do a null check to prevent the error and the reflection will simply be ignored on versions of Unity of 2022.3 and above.
    ExtendReality-Bot committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    261c5aa View commit details
    Browse the repository at this point in the history
Loading