I am pretty new to ue4 and i am trying to make a minigolf game. I got my camera all set up but now i don’t know how to make the ball shoot. What i am trying to do is make a golf ball that when you pull back on the mouse it charges up the power and when you release it shoots depending on how long you pulled back for. I don’t even know where to start.
projectiles are always a pain to make from scratch. Try getting rid of the scene root (drag you collider(if you have one) onto the default scene root in the blueprint) and make your mesh for the ball a child of the collider. Set the colliders Collision to Block all, and set the Meshes collision to none. Add a Projectile Movement component. You will set the initial speed from however you are doing the golf swing. you can use the initial velocity parts of it to choose what direction it will shoot in.
EDIT: These generally work best if you have Simulate Physics Off for everything, ive had weird problems before of bullets falling through the floor and whatnot. but if your moving it based off an impulse from a golf swing you might need to have that on, good luck…
Thanks man appreciate the help