SS3D icon indicating copy to clipboard operation
SS3D copied to clipboard

Interaction wheel shows interactions even when they are no longer available.

Open TaylorNAlbarnaz opened this issue 2 years ago • 0 comments

Summary

Currently you can interact either with the basic interaction through Left Click or using the interaction wheel with Right Click, you can also drop items using Q. There is a small problem though, if you open the interaction menu, you can still Left Click outside of it or press Q to drop the item, but the interaction wheel will stay open even though you don't have the item in your hands anymore.

Expected Behavior

Some interactions should disappear from the interaction wheel when they are not available anymore. As an example, dropping an item should make all interaction that involves having the item in hand disappear from the wheel. When no available interactions are left, the wheel should simply close.

Possible Solution

Just calling the functions to close the interaction wheel after an interaction is fired should work, just be careful and see if there aren't any Radial Menu events that aren't unsubscribed, since they can create memory leaks.

TaylorNAlbarnaz avatar Jan 05 '23 01:01 TaylorNAlbarnaz