You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Since a big perf. bottleneck on heavily modded servers is collision detection it should be improved as much as possible.
The first step is optimizing CCollision functions as much as possible.
GTA's functions use x87 math, which is slow, SISD code, but nowdays SSSE3 is supported even on toasters, so I'd advocate using that, or, even better, finding a library that already implements these functions and just copy pasting them [A good place to start would perhaps be bullet3?]. Perhaps enabling "vectorextensions" in premake would help too.
Describe the solution you'd like
See above
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
The text was updated successfully, but these errors were encountered:
i though about one optimization we can make, if you freeze vehicle then depends on how much it sink into ground, it can couse extra lags even. Even worse if 2-3 or more vehicles are frozen and colliding with each other.
So my solution is to selectivly disable collision between vehicles and world when they are frozen. for example vehicle won't collide with world, but will collide width other non-frozen vehicles and players
Is your feature request related to a problem? Please describe.
Since a big perf. bottleneck on heavily modded servers is collision detection it should be improved as much as possible.
The first step is optimizing
CCollision
functions as much as possible.GTA's functions use x87 math, which is slow, SISD code, but nowdays SSSE3 is supported even on toasters, so I'd advocate using that, or, even better, finding a library that already implements these functions and just copy pasting them [A good place to start would perhaps be bullet3?]. Perhaps enabling "vectorextensions" in premake would help too.
Describe the solution you'd like
See above
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
The text was updated successfully, but these errors were encountered: