Closed Nytra closed 11 months ago
This is my first ever logix node so let me know if there are issues with it
Have you tested it and also any gh issues on main for this?, I'll check it when I wakeup later.
I have tested it and it works, but I'm worried it might be unoptimized. There are no GH issues for this that I could find.
Changed node name to "Get Slot Grabbable" and optimized it maybe. I made it copy the structure of the "FindCharacterControllerFromSlot" node which also searches for and returns a component ref. It seems to run the code fewer times now than before which is good.
Updated node to find Grabbable in parents
Takes a Slot input and returns the first Grabbable component in parents (as an IGrabbable) or null.
Useful for checking if a slot is grabbable, and also can be used with the other pre-existing Grabbable logix nodes.