ExtendRealityLtd / Tilia.Interactions.Interactables.Unity

A variety of mechanisms for interacting between interactors and interactables in a spatial scene for the Unity software
MIT License
9 stars 3 forks source link

chore(deps): bump io.extendreality.zinnia.unity from 2.15.0 to 2.16.0 #172

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps io.extendreality.zinnia.unity from 2.15.0 to 2.16.0.

Release notes

Sourced from io.extendreality.zinnia.unity's releases.

v2.16.0

2.16.0 (2024-04-17)

Features

  • Cast: add raycast hit validity rule for points cast (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)

    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)

    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)

    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)

    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)

    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.

Changelog

Sourced from io.extendreality.zinnia.unity's changelog.

2.16.0 (2024-04-17)

Features

  • Cast: add raycast hit validity rule for points cast (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)

    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)

    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)

    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)

    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)

    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.

Commits
  • 261c5aa chore(release): set version to 2.16.0 [skip ci]
  • 80ca814 Merge pull request #592 from ExtendRealityLtd/feat/fixes-and-additions
  • 170a241 feat(Cast): add raycast hit validity rule for points cast
  • f90f1e8 feat(Cast): make drag curve offset a vector3
  • 3238142 feat(README.md): add section describing custom script define symbols
  • 36f978b feat(Data): add script define to disable collapsible drawer
  • 2ce9cef fix(Data): prevent null exception in collapsible drawer in 2022.3
  • 208570d feat(Tracking): apply distance offset on position difference rotation
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
ExtendReality-Bot commented 4 months ago

:tada: This PR is included in version 2.16.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: