save position and cam rotation

This commit is contained in:
2026-04-15 21:33:36 -05:00
parent 46ec37309d
commit db47bc3768
12 changed files with 83 additions and 78 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ public override void Use()
newBall.transform.position = transform.position;
Vector3 direction = transform.forward * shootForce;
direction += GameManager.Instance.GetPlayerController().GetVelocity();
direction += GameManager.Instance.PlayerController.GetVelocity();
newBall.GetComponent<Rigidbody>().AddForce(direction, ForceMode.Impulse);