save position and cam rotation
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user