ExtendRealityLtd / ExtendRealityLtd/Tilia.Interactions.Controllables.Unity

AngularTransformDrive with long meshes does not match grabbing interactor motion

Open
#102 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### Environment
Unity 2019.4.21f
"io.extendreality.tilia.interactions.controllables.unity": "1.11.14",
"io.extendreality.tilia.interactions.interactables.unity": "1.15.8",

### Steps to reproduce
1. Create an new unity scene set up with tracked alias and an interactor with grab support.
2. Create a Intearactions.AngularTransformDrive prefab
3. Set Cube transform Scale inside AngularTransformDrive into (1, 2, 0.1) to make a simple door
4. Set Cube transform position to (0.5, 0, 0) so the door will look like it rotates around a hinge.
5. Set AngularDriveFacade "Drive Axis" to rotate around YAxis
6. Start game in VR and grab top corner of door and move it.
7. Compare it to when you grab mid section of door and move it.

Example gif:
![TiliaAngularTransformDriveIssue](https://user-images.githubusercontent.com/1405377/109399213-c6330680-7941-11eb-99a3-0f7e6243ea3e.gif)

### Expected behavior

AngularTransformDrive should rotate to match interactor at any position during grab movement.

### Current behavior

AngularTransformDrive falls behind if interactor is grabbing at ends of long meshes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.