Download

Approach to Dash

Howdy everyone,

I want to add a dash to my character, which I’ve currently implemented using Character::LaunchCharacter(); However, this isn’t really that close to what I’m trying to achieve, because it’s a simple velocity change, not quite a “dash”, so I ended up hacking up something together that disables gravity and resets speed when you dash so that it feels more “bursty”, however, this doesn’t quite work because there is no arbitrary way to exit the “dashing” state, to reset gravity, etc.

So, as someone coming from a Unity background, I’m looking for something to move my Actor a la Transform.Translate() and manually implementing my own dash distance/timing logic with the proper events to tie into animations and whatnot. Would the correct approach be moving the actor, something in the Character? Anyone have experience with this?

Thanks.