Author Topic: Also notice distance on Y axis when fighting  (Read 1680 times)

Yaniel

  • Guest
Also notice distance on Y axis when fighting
« on: December 06, 2009, 11:56:32 am »
ATM it seems that the Y axis is completely ignored in the combat distance check. That makes it possible for npcs to kill you with a sword while standing 3-4 meters below you (for example in the stairs in the laanx dungeon: go down, aggro one of the thugs, run up the stairs until you are above the thug and stop to get killed. doesn't work always, because sometimes the thugs lose interest too easily, but if they don't, you might very well die.)

EDIT: Should this go to the bug tracker?

Sarras Volcae

  • Veteran
  • *
  • Posts: 1325
    • View Profile
Re: Also notice distance on Y axis when fighting
« Reply #1 on: December 06, 2009, 12:08:56 pm »
yes sirree it does!

bilbous

  • Guest
Re: Also notice distance on Y axis when fighting
« Reply #2 on: December 06, 2009, 05:27:42 pm »
I believe that would be the z axis though as x-y would be forward/back-left/right and z is up/down

weltall

  • Associate Developer
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Also notice distance on Y axis when fighting
« Reply #3 on: December 06, 2009, 06:50:46 pm »
yes it's z in crystal space for altitude

Tharos

  • Traveller
  • *
  • Posts: 21
    • View Profile
Re: Also notice distance on Y axis when fighting
« Reply #4 on: December 07, 2009, 08:57:14 am »
yes it's z in crystal space for altitude
Are you sure about this? CS 1.2 manuals talk about Z-axis to move the camera forward and Y-axis to rotate around to turn the camera left or right. To me it looks like the Y-axis is pointing up and I think it would be the OpenGL standard to define them so.
- Tharos - citizen of the Death Realm
Shadow General in the Dark Empire

zinder

  • Hydlaa Resident
  • *
  • Posts: 193
    • View Profile
Re: Also notice distance on Y axis when fighting
« Reply #5 on: December 10, 2009, 10:42:52 am »
yes it's z in crystal space for altitude
Are you sure about this? CS 1.2 manuals talk about Z-axis to move the camera forward and Y-axis to rotate around to turn the camera left or right. To me it looks like the Y-axis is pointing up and I think it would be the OpenGL standard to define them so.

I think you ran afoul of a frame of reference issue. AFAIK convention for world coordinates is x is breadth, y is depth and z is height. For monitor or camera coordinates x is breadth, y is height, and z is depth.