D
D
Dmitry Korolev2016-07-06 18:09:10
C++ / C#
Dmitry Korolev, 2016-07-06 18:09:10

How does a quaternion rotate?

How does a quaternion rotate? is it fast enough to replace the collider enter with a raycast object launched with a quaternion?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2016-07-06
@adressmoeistranici

and hello again Dmitry)
"is it fast enough"? what?
quaternions are just a variant of the mathematical description of rotations, for a more "correct" addition of them and other operations)
At what speed you rotate, it will rotate with that.
Replace a sort of "determinant hit the zone or not" consisting of a collider, with an object that sends rays in all directions. Most likely a dubious idea. As for performance, there are also a lot of problems if you suddenly need a shape not of a circle, but of a square, a rhombus. God forbid, in volume, and not just in a plane, it will be necessary.
It’s easier then to start a list of objects and after moving them, go through the list and determine the distance), they say, closer than 5 meters to the center of the “source”

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question