Hello! I’m trying to make the gatling ability from one piece, where you let out a barrage of attacks similar to YBA or other Jojo games. I’ve read Making barrage arms go in an arc motion? about it, but I’m confused about how to implement it into my game. Could anyone help me understand the article/bezier curves? Thanks!
Its a really late reply but for my barage i learnt that is better you use lerp. You can use lerp to make your mesh go forward (if you dont know what lerp is go and search a tutorial, its pretty simple to understand) and for the circle motion just rotate it and the mesh will alway go where the mess is pointing.
I will tell you what i did in detail:
- I spawned the mesh near the HumanoidRootPart pointing forward or where you want to point it and i made the mesh to be tilted at around 15-30 degrees to the left or right.
- I lerped the mesh to go forward(because its a litle tilted it will go where the mesh is actualy pointing)
- When the mesh spawns i made a tween to turn from the oposite direction another 30-60 degrees.(that will make a nice curve without using beziers curves)
Sorry if its a liitle hard to understand but dont hesitate to ask me for help!
1 Like