Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add object specific contact radius and limit contact check #3429

Merged

Conversation

MegadreamsBE
Copy link
Member

@MegadreamsBE MegadreamsBE commented Jun 3, 2024

fixes #3422

Introduced a new server configuration setting "object_contact_sync_radius" to modify the contact radius for objects. The check introduced in #3391 affected any element that a player could be in contact with, but they all used the vehicle contact radius setting.

This PR furthermore limits the contact radius checks to vehicles and objects now. This helps resolve issues with colshapes.

While there's currently not much of a concept to being a syncer of an object, the code for it exists and this PR is future-proofed for #3405.

@MegadreamsBE MegadreamsBE requested a review from tederis June 4, 2024 04:16
@tederis tederis added the enhancement New feature or request label Jun 4, 2024
@Dutchman101 Dutchman101 merged commit 6085796 into multitheftauto:master Jun 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New bug] Position anomalies
3 participants