Howdy developers,
Today I come to you seeking advice. Let me explain the basics of my game real fast. You’re a fighter with multiple abilities. There will be many fighters to choose from, each with their own abilities. Your fighter always faces the same direction your camera is facing. Your UpperTorso and everything else above your LowerTorso face whichever way your camera is facing on the up/down axis as well. Your abilities launch where ever you click (within range, uses ray casting). Video below.
For this new fighter however, I need a sort of ‘tendril whip’ function. The player plays an animation which causes a tendril to whip out. I just have no idea about the best way to go about this. I need for the tendril to appear and disappear fluidly. I need the tendril to stay ‘locked’ to your hand, while also slapping in the direction you clicked (range of 15 to 25 studs). I also need for the player to be able to keep moving around while using their tendril whips. I’m unsure how to go about keeping the tendril both locked to your hand and also going in the direction of the click. In terms of hit detection, my plan is to use an invisible part and use :GetTouchingParts() on it in an instant before deleting it.
Is there a way to accomplish this only client-side which will replicate to everyone else? Is this something I must play as an animation on every client individually? Is there a way to make this look good in a game where a player could spin around super fast if they wanted? What would you do here?