I have a code that detects an angle and send out a float between 0 and 360 degrees called fAngle.
what I want to do is shoot a bullet with a rotation = to that float, so, if my player is looking up, the bullet would go up because fAngle = 90
Im new to programing so, if anyone has the answer scripted. It would be great. Because I have no idea how to use a quaternion,I have a code that detects an angle and send out a float between 0 and 360 degrees called fAngle.
what I want to do is shoot a bullet with a rotation = to that float, so, if my player is looking up, the bullet would go up because fAngle = 90
Im new to programing so, if anyone has the answer scripted. It would be great.