Fix position and rotation of track anchors not set.

This commit is contained in:
2023-04-14 14:39:48 +08:00
parent f7bfe07660
commit 07babcb0ff
2 changed files with 13 additions and 11 deletions

View File

@@ -133,7 +133,7 @@ namespace Cryville.Crtr {
}
Vector3 GetFramePoint(ContainerState state, float track) {
return GetFrame(state, track, th => ((TrackHandler)th.Handler).GetCurrentWorldPoint());
return GetFrame(state, track, th => th.Handler.Position);
}
Quaternion GetFrameRotation(ContainerState state, float track) {