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

fix(Grab): remove hard requirement for rigidbody #151

Closed thestonefox closed 1 year ago

thestonefox commented 1 year ago

There is no definitive requirement for a rigidbody on an Interactable but the previous changes that prepared rigidbody for kinematic changes has meant that a Rigidbody is required to set up the state to prepare for any kinematic change.

This fix just makes sure these state preparations are only done if a rigidbody is provided, so it no longer needs a rigidbody if not required.

ExtendReality-Bot commented 1 year ago

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

The release is available on:

Your semantic-release bot :package::rocket: