I’m new to Unity so please bear with me.
I’m working on a variant of what is created in the Roll-A-Ball tutorial. I’m using AddForce on the rigid body of the sphere to propel it forward or back. I would like the camera to follow the sphere from a third party viewpoint. I would like to be able to turn the angle the camera is facing relative to the sphere. I would then like to be able to apply force to the sphere in the direction the camera is looking. Applying the force works but I can’t, for the life of me, get rotation to work. I tried rotating a Vector3 to the angle I want to apply the force and then applying it but couldn’t get that to work. I tried using transform.Rotate to turn the sphere but that doesn’t appear to let me apply a force at the new angle. I guess my question is this: Is there a way to change the 0 degree angle of an object in Unity?..or am I thinking this through wrong?