fix(runtime): preserve hidden setposition collision ownership
This commit is contained in:
parent
9b0f59bd1b
commit
0fbc7a1fb7
8 changed files with 343 additions and 43 deletions
|
|
@ -3199,8 +3199,7 @@ public sealed class RuntimePhysicsState : IDisposable
|
|||
&& record.PositionAuthorityVersion == positionAuthorityVersion
|
||||
&& record.SpatialAuthorityVersion == spatialAuthorityVersion
|
||||
&& ReferenceEquals(record.PhysicsBody, body)
|
||||
&& body.InWorld
|
||||
&& (body.State & PhysicsStateFlags.Hidden) == 0;
|
||||
&& body.InWorld;
|
||||
}
|
||||
|
||||
private void OnCollisionOwnerMutated(uint ownerId, ulong version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue