Answer the question
In order to leave comments, you need to log in
Where is the mistake in changing the angle of departure of shells?
I have a turret that spins with:
cannon.rotation = Quaternion.Slerp(cannon.rotation,
Quaternion.LookRotation(target.transform.position - cannon.position),
rotationSpeed * Time.deltaTime); // Update метод
rocketRB.AddForce(0, 0, -4000 * Time.deltaTime); // Update метод
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question