Results 1 to 2 of 2
Like Tree1Thanks
  • 1 Post By TKHunny

Thread: Formula to find an angle that can change.

  1. #1
    Newbie
    Joined
    May 2019
    From
    United Kingdom
    Posts
    1

    Formula to find an angle that can change.

    This is probably really simple but I can't get my head around it. I am making portals for college and need to set the players rotation to the angle they are looking in when they teleport. Since portals can be rotated from 0 to 360 in the yaw, the angle they are looking in is different to what they are seeing out. There are two examples, one with the portals facing opposite directions and one with a portal turned 90 degrees to the other.
    I can get the angle X and Y by getting the objects' rotations, but since these values change I need to have the method to get Z as a formula. I've tried my best to draw it out for a visual.
    Thanks for any help.Formula to find an angle that can change.-untitled.png
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,170
    Thanks
    49

    Re: Formula to find an angle that can change.

    https://www.freemathhelp.com/forum/t...change.115871/

    It seems you are not going to show any of your own efforts.
    Posting the same question in multiple locations says, "My time is more valuable than yours." Is that the message you want to be giving to volunteers?

    Give us a clue where you are.
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Change in Angle of Elevation
    Posted in the Trigonometry Forum
    Replies: 4
    Last Post: Jan 11th 2015, 11:49 AM
  2. Find Rate of Change of Angle
    Posted in the Calculus Forum
    Replies: 3
    Last Post: Nov 20th 2013, 05:08 AM
  3. Replies: 2
    Last Post: Dec 10th 2012, 10:05 AM
  4. Replies: 1
    Last Post: Apr 4th 2011, 11:36 AM
  5. Finding angle/ Double angle formula
    Posted in the Trigonometry Forum
    Replies: 2
    Last Post: May 29th 2009, 07:43 AM

/mathhelpforum @mathhelpforum