Attention |
Topic was automatically imported from the old Question2Answer platform. | |

Asked By |
fuck |

Why doesn’t it exist? What is a way to find it?

Attention |
Topic was automatically imported from the old Question2Answer platform. | |

Asked By |
fuck |

Why doesn’t it exist? What is a way to find it?

Reply From: |
kidscancode |

3D does not work like 2D does. In 2D there is only one axis of rotation, so a single angle can represent a direction. In 3D there are 3 axes of rotation, and specifying them as angles leads to problems like gimbal lock.

There is this, if you need to find the angle between two vectors (2 vectors define a plane, so this is equivalent to 2D):

Reply From: |
Didiei |

You can sort of simulate by using `angle_to(some_direction)`

.