I want to make a very simple combat system in my game, the focus isn’t exactly combat so it doesn’t have to be too crazy but it shouldn’t be buggy.
Anytime I attempt to make a combat system it’s always extremely laggy and delayed.
I’ve attempted to make a system with .Touched a couple times and I’ve tried using Raycast. Whenever I’ve used .Touched the hitbox was very spotty and didn’t seem to land most of the time when it should be. Raycast wasn’t the worst but it was pretty limited for what I was hoping to do.
When I’m making a combat system I mainly want it to complement the game, it’s a big part which is why I don’t want it to be overly complex. An example of this is rogue lineage (just the combat with no skills), it flows really smoothly and has little to no lag. The hitboxes are also really good and make combat very realistic.
Any advice?