Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object moves by it own, when Snapzone is attached to an interactable object #234

Open
niconicodrake opened this issue Mar 13, 2023 · 0 comments

Comments

@niconicodrake
Copy link

Environment

Tested on Unity 2021.3.19f1

  • Tilia CameraRigs TrackedAlias Unity Version 2.1.0 - March 11, 2023
  • Tilia CameraRigs XRPluginFramework Unity Version 2.1.0 - March 11, 2023
  • Tilia Input UnityInputSystem Version 2.2.0 - March 11, 2023
  • Tilia Interactions Interactables Unity Version 2.11.0 - March 11, 2023
  • Tilia Interactions SnapZone Unity Version 2.1.36 - March 11, 2023
  • Tilia Locomotors AxisMove Unity Version 2.0.18 - March 11, 2023
  • Tilia Output InteractorHaptics Unity Version 2.1.21 - March 11, 2023

No Third party Dependencies

Steps to reproduce

  1. Add a snap zone on an interactable cube.
  2. On this interactable cube is the snap zone attached and not overlapping with the Object
  3. when I move the cube, I also move an attached snap zone.
  4. When I stop grabbing the cube, the object is forced on its own somehow and floats away.

Additional Info:

Screenshot 2023-03-13 191642

Screenshot 2023-03-13 202535

com.DefaultCompany.VRTK-20230313-191445.mp4

Expected behavior

When the Snap zone is attached (also with a slightly offset) the object should not be forced to move against the snap zone. I Want to add another interactable object to this interactable object. to make a bigger one. The new object should be stay connected when I grab it.

Current behavior

When I Grab and release an interactable Object where a snapzone is attached (so that the snapzone moves with it) the Object flies away in the direction of the snapzone. It looks like it is forces by its on to reach its own snap zone.

The "ActivationCollisionArea" is not intersecting with the original interactable attached object. Which means, normally it not be forced to move in its own unreachable snapzone. I used and box collider for the Zone (Screenshot 3).

When I hold the Object which haves the Snap zone and grab another Object and move it inside of the zone --> The object behaves normal because the Snap zone is filled. When I detach the object (and not holding the Object with the SZ) It stays as long I grab it again and release it. The object flies aways as described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant