Been wondering about this for a while, how can I switch my character to this "band-kart" during runtime?

Haven’t used Unreal Engine in a long while, so I’m trying to get used to coding blueprint again, as I am using it for my ongoing racing game, Band Pride. The main struggling part so far is getting the character to switch to driving their “band-kart” during runtime. Before racing levels, there are free-roam segments, but I want to switch to driving during runtime rather than having to switch game modes.

If anyone is kind enough to give me potential solutions, that would be highly appreciating! :purple_heart:

  • attach the Pawn Rider to his Pawn Ride, and possess the Ride (which could get its own set of controls)
  • when hopping off, detach the Rider pawn, transform and possess it back

Haven’t used Unreal Engine in a long while

Note the new Enhanced Input system rendered the legacy one pretty much obsolete. You may want to look into it since it makes handling player input much more manageable.

Just to extend Everynone’s tips. Don’t forget to disable collision for the character once it’s attached to the cart and re-enable it after detachment. It should stop any stutters and jitters between the character and kart once they are connected.

1 Like