How would you create a state machine in UE4? Is there already helper class for this? If not would you make your state machine part of UObject or would you create your own C++ class?
Announcement
Collapse
No announcement yet.
State machines in UE4
Collapse
X
-
Hi,
Have a look at this:
https://wiki.unrealengine.com/Function_Pointers
The example in this Wiki entry can be used to implement a basic state machine in C++.
More info on the subject:
http://gameprogrammingpatterns.com/state.html
Comment