- Home /
A way to store multiple rotation modes
Hi I'm looking for a method in C # that can store some rotation modes and the game object can randomly select from those rotations.
What is the way to do this ???
Comment
Answer by Batzuga · Feb 07, 2020 at 09:51 PM
Rotation data is known as Quaternion so, List() or Quaternion[]. then you can just create a function to get a random Quaternion from the list / array.
Your answer
Follow this Question
Related Questions
Problem with object rotation 0 Answers
What is more efficient for assign rotation with euler angles? 2 Answers
How to get all gameObjects with a script on them 1 Answer
How to rotate mouse addresses? 0 Answers