I’m calculating bezier curves in a very fast rate, constantly, and it uses alot of calculations, i’m wondering if this can be a source of lag?
1 Like
Can you define constantly? What loops are you using and how long are you waiting before each re-calculation?
1 Like
particulary, when a player damages another player, i use bezier curves for the damage text, which is already a very frequent activity, as for the calculation rate its around 45 to 50 times
1 Like
I think that could definitely cause lag, if you could find a way to optimize it, I think it would make your game smoother.
2 Likes