Assets/Scripts/WeaponRotation.cs
/// <summary>
/// Updates the projectile alpha and gamma angles.
/// </summary>
/// <param name="_p">Projectile object</param>
/// <param name="_a">Alpha angle</param>
/// <param name="_g">Gamma angle</param>
Updates the projectile alpha and gamma angles.
Updates the projectile alpha and gamma angles .
void updateProjectileAG(Physics _p, float _a, float _g)
	{
		_p.setAlpha(new Vector3(_a, 0f, 0f));
		_p.setGamma(new Vector3(0f, 0f, _g));
	}
void updateProjectileAG ( Physics _p , float _a , float _g ) { _p . setAlpha ( new Vector3 ( _a , 0f , 0f ) ) ; _p . setGamma ( new Vector3 ( 0f , 0f , _g ) ) ; }
Updates the projectile alpha and gamma angles.
Updates the projectile alpha and gamma angles .
_p
Physics
None
_a
float
None
_g
float
None