new physics wip

This commit is contained in:
2015-06-16 01:29:23 +06:00
parent 33645632a6
commit 9c700fb06a
40 changed files with 432 additions and 1038 deletions

View File

@@ -183,6 +183,10 @@ namespace IsoTools {
ApplyToAllIsoObjects(obj => obj.FixTransform());
}
void ResetAllIsoWorld() {
ApplyToAllIsoObjects(obj => obj.ResetIsoWorld());
}
void ChangeSortingProperty() {
MarkDirty();
FixAllTransforms();
@@ -396,7 +400,7 @@ namespace IsoTools {
}
void OnDisable() {
ApplyToAllIsoObjects(obj => obj.ResetIsoWorld());
ResetAllIsoWorld();
}
}
} // namespace IsoTools