Page 1 of 1
How can I get the opposite of a direction?
Posted: Sun Sep 11, 2022 11:32 am
by pyxledev
Like adding 180 degrees to and angle. I don't think there is any more explanation needed for this.
Re: How can I get the opposite of a direction?
Posted: Sun Sep 11, 2022 12:13 pm
by darkfrei
pyxledev wrote: ↑Sun Sep 11, 2022 11:32 am
Like adding 180 degrees to and angle. I don't think there is any more explanation needed for this.
Pi is 180 degrees for any angle calculations:
Also 90 degrees is half pi and 360 degrees is a 2*pi. But people
must to know about the Tau.
Re: How can I get the opposite of a direction?
Posted: Sun Sep 11, 2022 12:20 pm
by pgimeno
How is the direction given? If it's a vector, then just change the signs of the components.
Re: How can I get the opposite of a direction?
Posted: Sun Sep 11, 2022 12:46 pm
by pyxledev
darkfrei wrote: ↑Sun Sep 11, 2022 12:13 pm
pyxledev wrote: ↑Sun Sep 11, 2022 11:32 am
Like adding 180 degrees to and angle. I don't think there is any more explanation needed for this.
Pi is 180 degrees for any angle calculations:
Also 90 degrees is half pi and 360 degrees is a 2*pi. But people
must to know about the Tau.
Thanks so much. That worked.
Re: How can I get the opposite of a direction?
Posted: Mon Sep 12, 2022 5:39 pm
by milon
Off topic, but thanks for sharing that link! I'm a bit of a math nerd and I hadn't heard about that.
Re: How can I get the opposite of a direction?
Posted: Mon Sep 12, 2022 6:32 pm
by ReFreezed
All hail Tau - the more sensible constant!