using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bala : MonoBehaviour
{
public float Velocidade = 20;
// Update is called once per frame
void FixeUpdate()
{
GetComponent<Rigidbody>().MovePosition
(GetComponent<Rigidbody>(). position +
transform.forward*Velocidade*Time.deltaTime);
}
}