We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa2f8a commit 7f429b1Copy full SHA for 7f429b1
com.unity.netcode.gameobjects/Runtime/Components/RigidbodyContactEventManager.cs
@@ -374,10 +374,11 @@ public void Execute(int index)
374
375
var result = new JobResultStruct()
376
{
377
- ThisInstanceID = PairedHeaders[index].bodyInstanceID,
378
#if CONTACTPAIRHEADER_OTHERBODYENTITYID
+ ThisInstanceID = PairedHeaders[index].bodyEntityId,
379
OtherInstanceID = PairedHeaders[index].otherBodyEntityId,
380
#else
381
+ ThisInstanceID = PairedHeaders[index].bodyInstanceID,
382
OtherInstanceID = PairedHeaders[index].otherBodyInstanceID,
383
#endif
384
AverageNormal = averageNormal,
0 commit comments