From NWN LexiconJump to navigationJump to search
Convenience function to calculate the change in the X axis
Distance to target location
Direction to target Location
This is a convenience function that returns the product of fDistance*Cos(fAngle) as a float. This number would then be used to calculate the amount needed to change the X-axis of the current location in order to reach the target location. This function would normally be used with float GetChangeInY (float fDistance, float fAngle)
Float Cos(float fAngle)
#include " x0_i0_position "
author: Michael Nork, editor: Mistress, contributor: Kookoo