I want to have a adjustable move set so I could easily add animations and add on to the code. My first movement code struggled on adding a roll movement and was very janky. Anyone's intake and advice would be very helpful :grin:
Thatâs a little difficult to answer; it depends a great deal on what youâre trying to do, how you want to be able to expand in the future, and personal taste.
For example, depending on whether you mean âa person doing a dive rollâ or âa plane doing a barrel rollâ, the answer could be very differentâŚ
Itâs generally a good idea to stick with the basics on these things until you know that the complexity of more advanced techniques is going to save you more hassle than they cause. If your movement code is turning into an unmaintainable pile of hacks (or just irritating you whenever you have to look at it) maybe go state machine, or even multi-tier state machine. If your needs are simple, though, youâre probably better served by the basics.