ExtendRealityLtd / ExtendRealityLtd/Tilia.Interactions.Interactables.Unity
IsGrabbed is always true
- Dominant language
- C#
- Stars
- 9
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Environment
* Code version: 2.18.1
* Platform version: Unity 6000.0.29f
### Steps to reproduce
Recreated in YouTube samples project scene 0018 - Precisely Grab Objects at point of Touch.
Set up 3 interactables on the table:
- One regular grabbable
- One with primary action "none"
- One with primary action "custom" (like when you spawn a new Interactions.Interactable)
Add script with this code to the scene, and add the objects to the list:
```
using System.Collections.Generic;
using Tilia.Interactions.Interactables.Interactables;
using UnityEngine;
public class InteractableTester : MonoBehaviour
{
[SerializeField] private List interactables;
void Start()
{
foreach (var facade in interactables)
{
Debug.Log($"Is {facade.gameObject.name} grabbable? {facade.GrabEnabled}");
}
}
}
```
### Expected behavior
The two last interactables should not be grabbable
### Current behavior
All three interactables print "true"
Contributor guide
Assessment
This issue has not been assessed yet.