WhereIsPlayer: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=Consider the situation in which a player is near to npc. This function gives an angle in radians relating to the position of the player.| params=<syntaxhighligh...") |
(No difference)
|
Revision as of 04:46, 5 December 2022
Description:
Consider the situation in which a player is near to npc. This function gives an angle in radians relating to the position of the player.
Parameters:
NoParams
Return Values:
The angle from where the npc is facing towards to where the player is. 0 means player is infront. Positive values means player is to the left of npc and negative values indicate he is on the right side. Values range from -PI to PI.