Skip to content

Commit 97f1dd8

Browse files
committed
Update to 1.11
TyreContacts are just a workaround yet! They should be a multidimensional array
1 parent 04375a9 commit 97f1dd8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Physics.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,14 @@ public struct Physics
110110

111111
// since 1.10.2
112112
public int IsAIControlled;
113+
114+
// since 1.11
115+
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)]
116+
public float[] TyreContactPoint;
117+
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)]
118+
public float[] TyreContactNormal;
119+
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)]
120+
public float[] TyreContactHeading;
121+
public float BrakeBias;
113122
}
114123
}

0 commit comments

Comments
 (0)