hi guys i want to scale an object using my vr controller trackpad axis,but that can be anytype of axis input, the problem is i dont know the math required to do that i dont what to give it in scale node of set world scale 3d
That’s because you keep it in an actor (mine is in the Level Blueprint - also a bad idea but you asked about the math, so I though it’d be ok). Actors do not process input by default.
Imagine if you had 10 actors to scale, if you put the script in an actor, all 10 instances would process that input and scale… Probably something you do not want, but maybe you do. If you’re just playing around and testing things out, you can:
1 is your read input node. This will enable input processing in this actor class and not consume it, so other instances can do it as well.
But this is not feasible for anything serious. Perhaps you’d like to explain how you’re selecting the actor to scale. I’m assuming that’s the goal - select an actor and scale it. How close am I?
Never tried to squeeze input out of a trackpad. So what device is this? Can you show the input mapping in the project setting. Trying to understand what we’re dealing with (so I can google it ;p )