Look Flight Mechanics
Maybe someone clever can shed some light on how to implement something im wanting to test.
I have a Rigidbody with a nice force based flight script using the controller, say if i want it to switch over to a look based flight, how would i alter my script to apply relative torque based on moving my head?
here is what i have working with the controller
rigidbody.AddRelativeTorque(pitch*PitchSensitivity*Time.deltaTime
Cheers
I have a Rigidbody with a nice force based flight script using the controller, say if i want it to switch over to a look based flight, how would i alter my script to apply relative torque based on moving my head?
here is what i have working with the controller
rigidbody.AddRelativeTorque(pitch*PitchSensitivity*Time.deltaTime
Cheers
