|
@@ -59,6 +59,8 @@ public class Arrow : MonoBehaviour
|
|
|
|
|
|
|
|
newRigidbody.velocity = this.transform.forward * mySpeed;
|
|
newRigidbody.velocity = this.transform.forward * mySpeed;
|
|
|
newRigidbody.collisionDetectionMode = CollisionDetectionMode.ContinuousDynamic;
|
|
newRigidbody.collisionDetectionMode = CollisionDetectionMode.ContinuousDynamic;
|
|
|
|
|
+ newRigidbody.drag = 0;
|
|
|
|
|
+ newRigidbody.angularDrag = 0;
|
|
|
|
|
|
|
|
Transform cameraTF = this.transform.Find("Camera");
|
|
Transform cameraTF = this.transform.Find("Camera");
|
|
|
cameraTF.gameObject.SetActive(true);
|
|
cameraTF.gameObject.SetActive(true);
|