This commit is contained in:
Mister_Nebula 2021-07-25 00:27:52 +01:00
parent c48750281d
commit 6b51d37e7a

View File

@ -80,6 +80,7 @@ namespace QSB.ProbeSync.TransformSync
}
var probeLauncher = Player.LocalProbeLauncher;
// TODO : make this sync to the *active* probe launcher's _launcherTransform
var launcherTransform = probeLauncher.GetValue<Transform>("_launcherTransform");
probeOWRigidbody.SetPosition(launcherTransform.position);
probeOWRigidbody.SetRotation(launcherTransform.rotation);