How to implement grabbing

I can only think about implementation with components. Similarly, how we implemented an OpenDoor component we can implement a Grab component. Maybe we can inherit some function from another class, that will allow us to grab the object, but that’s not as interesting for me. Also, we can add some outline or glowing effect to allow the player to understand that they can interact with the object somehow.
That’s all I can think of for now.

2 Likes

Privacy & Terms