Hello!
I have a skill system that works like this:
- Player Uses Skill (clicks E button)
- Player instantly does visuals/vfx things (like fireball movement)
- Client
FiresServer
and server tells all other clients to do visuals - Server does Hitbox Detection
The problem:
My main problem is that if player quickly rotates (for example with ShiftLock) and uses skill, then Main client’s (Main Client = Player who used skill) visual will move to different location than server’s Hitbox.
Image:
In skills, I mainly use Character.PrimaryPart.CFrame
, I know that there will be always ping/latency, so it’s not possible to make 100% correct server hitbox (maybe i’m wrong?)