-
Notifications
You must be signed in to change notification settings - Fork 741
Disable collision while carrying, Fix floating on disabled simulation objects #4605
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
Conversation
In addition to simulation type house, disabled simulation objects will also be floating - this is usually done to prevent clipping or falling of small objects objects through objects they are placed on
|
Not a fan of each frame |
|
The array |
|
I suggest making an independant framework for disabling collisions of an object with everything that works in MP and handles JIP. |
Good point.
Dragging doesn't cause collisions like that, I am pretty sure it's because I was testing with a small object, should try something bigger to make sure.
π |
|
Dragging doesn't seem to be a problem at all (unless you release the object inside someone). I still need to test how locality works on that command. |
|
Yeah, globally and rerun on each locality change of either object. It seems like I won't have much time to work on this, setting to 3.12, can change back if I do it this weekend. |
|
box setMass 0.000000000001; |
|
This works in local hosted MP. Client can't damage another client or the host. Mass has be set to >0 however, but that seems to be enough. |
|
Tested, works in MP. |
Disable collision while carrying, Fix floating on disabled simulation objects
When merged this pull request will:
Land_WoodenBox_F.Fix objects with disabled simulation floating on release (ace_common_fnc_fixPositionimprovement)Reason: I got crushed to death yesterday on a mission by a suitcase on one side and a phone on the other. π
Needs testing in multiplayer environment,disableCollisionWithhas documented weird requirements about locality, no idea how much of it is true as of now.Changed implementation to this to the
setMass 0method mentioned by BΓ€r.