In this tutorial series, I am going to implement a skateboarding system in unreal engine. The character will be able to ride the skateboard and we will focus on how to implement smooth skateboard movement on various surface angles. We will also look into how to do a kickflip as well.
Note*
I started working on this project in unreal engine 4 and later on I have updated the system to unreal engine 5. Project files for both engine versions are available. Refer to the links at the end of article.
https://dev.epicgames.com/community/learning/tutorials/e98q/unreal-engine-skateboarding-tutorial
It’s awful.
During the first half of the tutorial series they make it work with multiplayer, but the movement itself is far from correct in terms of physics. The multiplayer support also would break as soon as some ping and packet loss is introduced. The tutor follows a lot of dumb practices, for instance, creating interfaces to avoid one single cast for ABP, most likely following a false excuse “Casts are expensive”.
Throughout the second half they scrap the implemented movement in the first half that works in a way in multiplayer, and simulate it using a hidden sphere, which doesn’t work in multiplayer by any means. In fact, they call SetActorLocation and SetActorRotation every tick locally, and call AddForce on user input locally, i.e. the sphere is never affected by the inputs on remote machines.
It’s one of the worst tutorial series I have ever seen.