#Euler angles returns the full rotation,

1 messages · Page 1 of 1 (latest)

royal sable
#

the "full numbers" and "decimals" are just different units of rotation - Unity is inconistent in its use of radians and degrees

manic briar
#

I know, but I want to understand how they actually function

#

I'm not very good at maths, so I wouldn't know how to use them

royal sable
#

well take this as an opportunity to spruce up your skills

eager geyser
#

Well like I said above it's best not to try to "reverse" that calculation. There's always a better way to answer the actual question you want answered than to try to turn everything into an euler angle question.

The specifics will depend on the exact specific thing you're trying to do though

#

Several techniques are:

  • driving rotation around a specific axis based on a float variable and just directly using that float for whatever comparison you're trying to do
  • Vector math and dot/cross product manipulation and analysis
  • various trigonometric techniques
#

It really really depends on the exact details though

eager geyser
royal sable
#

okay, my mistake, it wasn't clear to me what they were referring to

manic briar
#

Yeah, euler angles are vector3

#

they return what you use in the actual unity inspector

manic briar
#

I don't know a lot of math, and if I needed to learn it, I would like to know what to learn for this use case

eager geyser
#

There's not much complicated math you need to learn

#

Just the Unity API

manic briar
#

Yeah, but with some issues I have, it turns it complicated

#

Kind of the whole reason I simplify everything into what's very very very easy (like eulers) to understand

#

Quaternions get complicated for me

eager geyser
#

Like all beginners with rotations you're overcomplicating it and overthinking it no doubt

#

But without a specific example it's not really possible to get into specific answers

royal sable
#

@manic briar in software, it's especially important to work with abstractions, and the behavior of Quaternions is a really good example of something that is worth ignoring the inner workings of

manic briar
#

Wrong guy 😭

royal sable
#

haha ok ty

#

@manic briar can you explain why people use exclamation points in their names on Discord