Unreal engine 5 C++ Game Development course

I Have a problem i noticed in The Unreal engine C++ Game Development course on udemy. In section 2 after function return value the leture. Not sure why my platform is acting this way. Once the platform reached a certain point it starts vibirating and glitching out. If it touches the player when the game is running the player is lauched in the air. I didn’t notice any error codes either when i rebuilt it in visual studio.

Hi Nicholas,

In which way are they acting? Can you describe the behaviour.

What changes did you last make?

Which lecture of the course are you currently on?

Have you checked the end of lecture code to see if you missed anything?

Hi Nicholas,

I didn’t get a notification of the reply. You should always reply with new info. Also, code - not screenshots/photos but use < > in the + menu after pasting the code in the message.

Check your code against the end of lecture too. If you post in the Q&A, this links me to the lecture code and the lecture itself which is far more useful for us TAs which is why we discourage the use of the community these days.

Anyway, from what I can tell, you’re not updating the DistanceMoved as you’re missing this

DistanceMoved = GetDistanceMoved();

That’s the first thing I would try.