Change Character Movement Type Programmatically

Hi,
I have the UCC, and am using triggers to change the CameraViewType, which works fine, but I would also like to change the character MovementType.

I found this: https://www.opsive.com/forum/index.php?threads/movement-type-change.1042/
but that line of code throws an error at the GetType function. Also, that post most probably refers to V2, and I am using V3.

I couldn't find any code snippets in the documentation, for changing MovementType, so has the line of code changed for V3? Or should I just begin to figure out how to set both the CameraView and MovementType by making a new State preset?
 
UnityEngineUtility has been replaced with Shared.Utility.TypeUtility, but SetMovementType now also takes a string so you can pass in the string directly.
 
Top