-
Notifications
You must be signed in to change notification settings - Fork 12
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
Review the collisionMask
passed to rayCastClosest(..)
#35
Comments
@Sagexs: it would be very helpful if you could experiment a bit and see whether any of these bits (or perhaps some of the undocumented ones) make I do expect there to be a rather large performance penalty if it would be possible, but at least then we'd know. @tckarenchiang: perhaps we could see whether we'd want to make the |
Oh, and AFAIU: if |
I've tested: if |
And just to make sure: if you set all bits of the I'm not sure where I read that not providing |
It doesn't seem to change anything. |
The current collision mask is set to:
FS19_modROS/modROS.lua
Lines 92 to 98 in 5e8d484
IIRC, we've not been able to really find any documentation for those bit positions, except in this article/tutorial: How to Set Correct Collisions in Your Farming Simulator Mod:
I suspect these are documented somewhere, I just haven't searched for it.
Whether the current value of the
collisionMask
is the optimal value for our purposes would be something to discuss.Edit: from the same page: some example collision masks for various objects/vehicles:
The text was updated successfully, but these errors were encountered: