Skip to content

Snapzone jittering when moving. #225

@kyawai

Description

@kyawai

Environment

Tested on Unity 2021.3.16f1

  • Tilla CameraRigs TrackedAlias Unity 2.0.7
  • Tilla CameraRigs XRPluginFramework Unity 2.0.7
  • Tilla Input UnityInputSystem 2.1.3
  • Tilla Interactions Interactables Unity 2.10.0
  • Tilla Interactions SnapZone Unity 2.1.32
  • Tilla Locomotors AxisMove Unity 2.0.16
  • Tilla Mutators CollisionIgnorer Unity 2.0.7
    No Third party Dependencies

Steps to reproduce

  1. Create a new Unity project in Universal RP.
  2. Add the VRTK package manager, relevant packages and OpenXR Plugin.
  3. Following the "[06] Building a VR Climbing Obstacle Course Part 1 - VRTK v4 Weekly Livestream" to set up the Tracked Alias, UnityXR Plugin Framework, adding Input Action Mapping and hand interactors, and implementing Axis Move Slide Horizontal movement
  4. Created 2 cubes, turned into Interactables. One of the cubes inside it's Mesh Container, added a Snap Zone. The snap zone has not been changed except from reducing the Activation Collision area and moving Snap Destination.

Expected behaviour

In play mode in VR, I'm expecting for the 2 cubes to be separate, when I pick them up and snap them together, they stay together, I am then able to walk around with them, drop them and pick them up (by grabbing the cube with the snap zone object), they will still be snapped and smoothly moving around with my movement.

Current behaviour

In play mode in VR, currently if the cubes are picked up and snapped the snap zone works as expected. However, when dropped whilst still snapped and picked up again, walking around with them causes jittering to the object that has been snapped. It also jitters when the cube starts off as snapped.

Extra notes:

This is an issue that happens sometimes, when I first encountered this issue, I recreated the snap zone and it worked as expected for the first day of working on it, the next day it has gone back to jittering.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions