VR Laser Grab and Rotate Actor

Hello, I’m trying to develop a laser pointer in Unreal 5.1.1 for VR, which adapts to all kinds of objects, can grab and rotate these objects, if someone could help me…Thanks

Hey there @JosevidosaVFX! Depending on how you want to rotate those objects, you could just do a line trace to where you’re pointing, turn off simulated physics on the object you’re manipulating, attach it to your tool, then pass rotations via control stick (or manually by spinning the tool). That is if you’d prefer it to be kinematic, if you’d like to use physics it would be a bit different. I have a couple of resources here that you could use, some you may have to alter a bit to fit VR, but the logic behind them is often the same.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

VR Gravity Gun (Physics):

VR Grab Object from Distance:

(NonVR) Grab and manipulate objects:

1 Like