How to set the rotation of an aircraft at runtime?

How to set the BP_Aircaft’s rotation at runtime ?

I can adjust the BP_Aircaft’s rotation in editor, but it’s not change in runtime, like this:

The plane’s head is error direction.


Hi @yuan1405, you can change the aircraft’s rotation permanently in both the editor and at runtime. If you click on the BP_Aircraft actor from the World Outliner, you can select the Aircraft static mesh component of the blueprint and edit the Rotation variable in the Details panel.


You can also edit it in the Viewport tab of the Blueprint Editor: