DesiredMovement does not consider vertical movement?

Chickenfield

New member
Hi,
I have an ability, which does two things. First, on AbilityStarted, the character is set to a moving platform (with m_CharacterLocomotion.SetMovingPlatform and not overriding the default moving platform logic). Second, in UpdatePosition() I set the DesiredMovement property, to a vector that matches the movement of the moving platform - let's say to (0, 0.1f, 0), so I would expect vertical movement when the ability is active.
The moving platform moves as expected, but the character stays on the ground.
I migrated to v3.0.2 according to the migration guide and this setup has worked in v2.4.8 with Motor Throttle, Move Direction, and Ability Motor properties. It works fine for horizontal movements. Is this a bug in the character controller, or is this no longer the supported way to do it?

Thanks,
Best regards,
Patrick
 
DesiredMovement includes vertical movement, but my guess is that when the ground check runs it overrides the value. In this situation you can apply the movements after the collision check within ApplyPosition.
 
Top