UE5.1 VR, scaling/resizing objects with motion controllers in-game

Hi there! I’m a digital artist trying to create a system where players can interactively build their own sculpture by organising and scaling meshes that are already existing in the level. However the only tutorials on YouTube seem to be dependent on UE4 and I’m rather lost trying to translate them into the updated VR template.

More specifically: I would like to build on top of the already existing grab component blueprint, by adding a boolean that checks whether both hands are grabbing the object. If true, I’d like the mesh to be scaled proportionally when the hands are pulled apart.

Would very much appreciate if anyone can help me out with the logic of this.

Many thanks,

Drew

Hey there @in-nokklu! Most of the UE4 resources are still applicable, with a couple of changes based on the input system. Here’s a pretty dated tutorial that still holds up alright if you change out the input system as well as ignoring the part with the HMD and setting the height (as that’s currently already handled by the base tutorial to an extent). Wish I had a more up to date one, but it doesn’t seem like there’s many direct resources but the logic itself still holds up! That and I’ve included a tutorial to work with the enhanced input system if you’d need it as well!

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.