Hi,
I am trying to create an interactive Scifi Power generator in Unreal Engine 5.2.
These are the features I want in it.
the Machine has an interactive widget fixed on the mesh(Sci fi power generator) with different options like switch on and off.
when you click switch on the machine has parts that start moving slowly then increases speed to a steady speed.
The same animation in reverse when you switch off.
The game play is in first person and you can select the option in the control panel ( the same widget on the mesh) with the aimer.
Can you advise me Or show me what tutorials I will need to follow in order to achieve this.
Thanks
Here is a good start for making a widget in 3d space, I havent watched this one personally so not sure if it addresses both points 1 & 3 or just point 1. Give it a try
As far as point 2 is concerned. There are many ways to accomplish this, possible timelines, or as I did on a fan inside a generator, I used a random speed increase on the fan between a range, and used an add rotation based on this amount, until it hits maximum which seems to work well. But not sure yet on its efiiciency as it runs on EventTick.
Yeah he seems to be doing alot more than what you need.
The widget IS technically floating. What you need to do is create an actor blueprint for the widget to sit on, then add widget components to that actor along with the mesh it will sit on, then scale and align them.
I have posted another tutorial below starting at the point he creates a widget and then places them:
He creates 2 widgets (as he has 2 places to put them) you should only need the one as a complete interface.
He actually does show you how to get in in game, he doesnt attach to a mesh, like i said you create an actor blueprint with the widget and then place and orient it where you want.
Hi High500,
sorry to reply so late.
I have paused this project as I was suggested by someone to go through a course with blueprints and c++ before jumping into something like this. It may clear up some problems and “how tos” on this project. Once I am done with that and If I succeed in pulling this project off I will definitely share it with you and the community here on how I managed it. Thanks again.