thanks.
There is a question I asked and no one has answered.
When the player walk accross the fence, Does the server check whether it can cross?It needs intersectRay?
And I have a new question here.
There is a function named UpdateGroundPositionZ. It is for what? Check the players' z-position?
Now my biggest question is that
I know intersectRay and intersectPoint is used in GetHeight, GetAeraInfo, GetLocationInfo and maybe other place. Now I want to know where is the other place? I think GetAeraInfo and GetLocationInfo
is to check whether the player is indoor.If the player is indoor, then some spells like Mounts are not allowed to use. Am I wrong?
And if the player is standing on a box or a building, the function named GetHeight will do intersectRay but not calculate the height only by the heightmap in order to find the real height of the player. Am I wrong?
I think Only the heighmaps are not enough. If the monsters are in a buliding, how to calculate their height?