Grabbing system

My first thought would be to use a component. As you would want to attach it to specific things that you want to grab. I would link it to a key press when your camera is pointed directly at it and you are as close as you can get. I don’t know if there is a way to add a targeting system (crosshairs) or have the object highlight in some way when you are close enough and pointing directly at it.

Also if you used inheritance is there a way to create a UPROPETY with a IsGrabbable Boolean that you could switch on and off if you had to do this with different objects? I’m not sure how feasible this is as I need to learn more about how inheritance works.

Privacy & Terms