I know that in Js you can directly modify one axis of a quaternion or Vector3, in c# you cant. So usually you just do something like:
void Update(){
transform.rotation = new Quaternion.Euler(transform.rotation.eulerAngles.x,10,transform.rotation.eulerAngles.x);
}
or something but the problem is that that still restricts another script from rotating the same object since it is constantly setting that objects rotation to the current rotation (Atleast that is the behavior I am getting). I am probably just overlooking something simple or being downright stupid.
I know this is old but after 2 of my 3 day holiday I dedicated to working on my game I could not get my particle I used as shrapnel to explode in the same direction the canon ball was heading as it arc’d. Code that finally worked below. Thanks you very much!