How do i add a ball go around my character when jumping in UE4

I want to have a ball appear around my player when they input the jump button like shown here Sonic Lost World jump sound effect - YouTube

Hey there @Unleashed! Welcome to the community! There’s a ton of ways to go about this! It gets to be specific to how you’d want the implementation to work. Since you are all about the sonic motif, I’ll tailor my answer to work somewhat like that. First you’re going to need to determine if you want this to be entirely programatic or if you’d like to use animation states. I highly recommend learning animation states first and foremost as it ties directly into gameplay for many games. Take a bit of a read through of the documentation (or the video tutorial if you prefer)

Basically you’re going to want to tie this into your animation states since you’ll be animating your not-sonic to roll into a ball (presumably). You’d handle animations to change the visibility of the ball and the player via animation states.


The simplest but least extendable method would be to just have a static mesh of a sphere that you make visible when you’re in the air and hide your player character, and reverse it when you land. This doesn’t take into account falling naturally or changing your collisions so you’d have more to do, but you’d definitely be better off learning the animation state machines so you can control these actions cleanly.


UnrealEditor_2022-09-15_22-34-26

Hope this gets you started!

1 Like

I have 4 different sets of animations that play during the jump
jumpstart, jumploop, falling, land
how would i apply it so it only activaties when JumpLoop is playing

Awesome! So you would need to look into learning animation notifies. These are basically events that get called during animations.