Skip to content

Commit 7f429b1

Browse files
update
Adjusting bodyInstanceID to be bodyEntityId in 6000.0.0a36
1 parent caa2f8a commit 7f429b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Components/RigidbodyContactEventManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,11 @@ public void Execute(int index)
374374

375375
var result = new JobResultStruct()
376376
{
377-
ThisInstanceID = PairedHeaders[index].bodyInstanceID,
378377
#if CONTACTPAIRHEADER_OTHERBODYENTITYID
378+
ThisInstanceID = PairedHeaders[index].bodyEntityId,
379379
OtherInstanceID = PairedHeaders[index].otherBodyEntityId,
380380
#else
381+
ThisInstanceID = PairedHeaders[index].bodyInstanceID,
381382
OtherInstanceID = PairedHeaders[index].otherBodyInstanceID,
382383
#endif
383384
AverageNormal = averageNormal,

0 commit comments

Comments
 (0)