Grabbing things

I would use a ray cast to detect object and make sure they are close enough and use something like a custom collision layer or a tag to sort out what objects can and can not be grabbed to move objects i would translate them through the world to maintain an offset from the player pawn and i would code it into the player controller because it is an input action that will be triggered by a direct command from the player

Privacy & Terms