Skip to content

don't replace collision polies with empty arrays on noclip - #54

Open
Bottinator22 wants to merge 2 commits into
Silverfeelin:masterfrom
Bottinator22:master
Open

Bottinator22 wants to merge 2 commits into
Silverfeelin:masterfrom
Bottinator22:master

Conversation

@Bottinator22

Copy link
Copy Markdown

Doing this messes up a lot of things as entity queries now find you if your bounding box (which is quite large) is within the query range. This results in noclipping players triggering pressure plates and automatic doors when just in the general area of them.

Instead, replace it with just a point. Collision is already disabled (by collisionEnabled = false), and a point poly is still not visible (assuming that was the intent of an empty poly) but doesn't cause you to be an entity query magnet.

(this may have caused me immense pain in the past)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant