Grabbing objects from a distance with a Trace Line ?

Hey everybody,

I am new to unreal engine and I am attempting to create a simple grabbing mecanism in VR, that allows the user to select an object with a trace line from a distance, and move the object around. Eventually making it possible to manipulate the scale, and rotation of the object.

Currently I have a trace line setup, that fires from both hands but I can’t make it interact with anything as my knowledge is very limited. I was wondering if anyone knows a way around this ? This is what I have currently :

I am using the VRPawn from the VRTemplate, with the same grabbing components and input mappings.

This is the blueprint for the line trace that I named “SC_SelectionTrace” which I’ve made in a scene component :

Here’s a tutorial :blush:

1 Like