-
What do you want to achieve? Keep it simple and clear!
I want to pick either “Up”, “Down”, “Left”, or “Right” from a Yaw Direction
-
What is the issue? Include screenshots / videos if possible!
The Solutions I’ve tried return unexpected outcomes
Here’s an example of what I would like to achieve
ifkpop
(ifkpop)
#2
What information do you have available from this mysterious yaw direction?
(e.g. angle, if so relative to what?)
An angle relative to a part which represents an agent
ifkpop
(ifkpop)
#4
So you only need to worry about 0->360 deg? Assuming 0deg == right
, 90deg == up
, then:
315 < x | x < 45 -- Right (0 +- 45)
45 < x < 135 -- Up (90 +- 45)
135 < x < 225 -- Left (180 +-45)
225 < x < 315 -- Down (278 +-45)
1 Like
system
(system)
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.