Projectile Issues
I have a question about the projectile attack I've given to the player. The projectile is meant to fire in whatever direction the player's camera is looking, but whenever I try to shoot it straight forward the bullet instead flies backwards and upwards. Shooting any further up for down works just fine though. Does anyone know what might be causing this issue and how I can fix it? Here's the script I used for the projectile prefab: using UnityEngine; [RequireComponent(typeof(Rigidbody), typeof(Collider))] public class Projectile3D : MonoBehaviour { public int damage = 10; public float speed = 2
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.