• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math: vertical viewing angle
#3
An idea I had myself, was to (imagining) a rotation of the coordinate system around the y-axis, so that the same code I gave could work with now x = z and y = y. However, that doesn't seem to work when the NPC has any other rotation than 0.0 degrees.
Always keep in mind that a lot of people are active on this forum in their spare time.

They are sacrificing time they could easily spend on things they would rather do, to help you instead.

  Reply


Messages In This Thread
Math: vertical viewing angle - by Freaksken - 2019-07-15, 08:18 PM
RE: Math: vertical viewing angle - by hiddos - 2019-07-15, 09:27 PM
RE: Math: vertical viewing angle - by Freaksken - 2019-07-15, 10:07 PM
RE: Math: vertical viewing angle - by hiddos - 2019-07-16, 06:20 PM
RE: Math: vertical viewing angle - by Freaksken - 2019-08-15, 08:26 PM

Forum Jump: