Collisions editing progress

This commit is contained in:
dexy
2020-01-06 22:17:51 +11:00
Unverified
parent 0d066679cb
commit 33dc83c0e0
13 changed files with 1390 additions and 216 deletions
@@ -453,6 +453,11 @@ namespace CodeWalker.GameFiles
FragMatrices = reader.ReadStructsAt<Matrix>(FragMatricesPointer, FragMatricesCount);
Name = reader.ReadStringAt(NamePointer);
if (Bound != null)
{
Bound.Owner = this;
}
if ((Count3 != Count4)&&(Count4!=1)&&(Count3!=0))
{ }
if (FragMatricesInds != null)
@@ -1272,6 +1277,11 @@ namespace CodeWalker.GameFiles
}
}
}
if (Bound != null)
{
Bound.Owner = this;
}
}
/// <summary>
@@ -2123,6 +2133,11 @@ namespace CodeWalker.GameFiles
this.Bound = reader.ReadBlockAt<Bounds>(
this.BoundPointer // offset
);
if (Bound != null)
{
Bound.Owner = this;
}
}
/// <summary>