Raising platform pass through flying character when velocity is 0.f?

I set movementmode to flying at the beginplay.

And make the platform begin to raise using a timeline.

The platform just pass through the character when the velocity is 0.f.

If the velocity of the character is larger than 0.f, it works fine.

Hello Noah_Z,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a more detailed list of steps to reproduce this issue on our end?
  3. Could you provide any code and/or screen shots of blueprints that may be involved with this issue?

Answers:

  1. Yes, I can reproduce this issue in the Side Scroller Template project.
  2. Steps:
    2.1 In the beginplay, set the movement mode to Flying.
    2.2 Add a cube under the player start. As soon as I press ‘G’, make it move upward.
    2.3 Click “Play”, the cube would directly pass through the player character if the velocity is 0.0f.
    2.4 Click “Play”, move the player character, it works fine.

I was unable to reproduce this issue on our end. I opened the side scroller template and set the floor to rise up by one every frame. This simply raised my character up until the character hit a platform at which point he was pushed through the floor. Is this what you are seeing on your end?

No, it’s not. Please make sure that your character is flying and the velocity is set to zero. What I saw is that the platform just passing through the character.

After further testing I was able to reproduce this issue on our end. I have written up a report and I have provided a link to the public tracker. Please feel free to use the provided link for future updates. Thank you for your time and information.

Link: Unreal Engine Issues and Bug Tracker (UE-35995)

Make it a great day