I am making a game with projectile attacks, and my main issue seems to be that in studio these attack’s hitboxes (when they travel either through align position or body velocity) works smoothly as intended. In game however, they experience a lot of lag, delaying to half or less than half the regular speed, not hitting the target on time.
Usually, this issue would be due to replication (not setting network owner) but for years now i have always set an invisible part to serve as the hitbox with a nil network owner, and the other part’s network owner to the player. This worked up until recently where i saw that both body velocity and align position were still slowing down even with network owner set to nil
I have tried setting it to the player instead and that causes more delay, any ideas on why this is happening / how to improve it?