volleyball mechanic help

hey guys, been using ue5 for a few months now. just been sat here cluelessly for about an hour now trying to code, so thought i would make a post.

trying to make a mini volleyball prototype game for uni, similar to this video https://www.youtube.com/watch?v=LUxQr7Q3A8Q&t=40s

im specifically trying to figure out the code for hitting the ball back and forth, im completely stumped. i have the ball with physics enabled i just dont know where to go from there.

if anyone has any tips or tutorials that might help me with this code itll be greatly appreciated!! even pseudo code will be fine. thanks guys :slight_smile:

Hey @mayakkb!

Is it a blueprint project or a C++ Project?

Go into some detail, what have you tried? What worked somewhat, what didn’t work at all, etc.

When you hit a wall bring some code and you’re more likely to be able to be helped!

As far as hitting the ball back and forth, a collision volume on the player that blocks whatever physics type the ball is would be ideal. :slight_smile: