After a couple of weeks of break spent in the south west of
I’ve started implementing a basic dash ability that can be used to quickly escape from dangerous situations. The ability will be shared by all mechs in The Bug Squad. At some point I’d like to make it upgradable to make it deal damage
Implementing the dash movement
The first step to implement the ability was creating the actual dash movement. When dashing, I want mechs to be driven at full speed for some time, with players being able to steer, but not stop before dashing is over.
Mechs in The Bug Squad use the standard
UCharacterMovementComponent (CMC) provided by the engine. This is a powerful (and complex) component that supports movement prediction on the local owning client to reduce perceived lag, as well as reconciliation with the server, interpolated location updates on remote clients, etc.