Hello! I’m doing a menu like the one in the video below in my project, but the actors don’t rotate the way I want them to.
I don’t want to use the actor’s axis’ but their relative position to the viewport. There’s a video below for reference, from Resident Evil 3, in which you can see what I mean. No matter the actor’s rotation, it always rotates to the left/right or top/bottom of the screen, not in the rotation relative to the item. Please help I’ve been trying to figure this out for about a week now…
This worked!! Only issue it moves VERY fast lol. How should I speed it down?
And the get all actors thing was the easy way to do so, since only the item that I want to examine gets spawned and then destroyed when that widget closes. Is it still a problem even if that’s how I’ve set it to work?
Thank you!!! You’ve been so helpful these past few days, I really appreciate it. Would you happen to know how could I use a gamepad to rotate the actor too?
Enhanced Input works well in widgets. I’d use that. It can even spit out a swizzled ready-to-go value.
And the get all actors thing was the easy way to do so, since only the item that I want to examine gets spawned and then destroyed when that widget closes.
I’d probably push a ref to the widget. If can take a performance hit, it’s up to you. Since there’s only one, perhaps this is enough:
At least no need need of a loop. Probably irrelevant.
But that’s not how IA works, hm. It only triggers when the input is down. Can you test it with a keyboard key? What are the chances the pad is drifting and keeps sending values?
I have an old thing here and every now and then, when plugged in, it will randomly start rotating the camera, giving me the heebie-jeebies.