![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 364
|
I know i've read this somewhere but I cannot find it now. how can you tell which way your npc is facing based on pos=?
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
After pos = {0;0;-0;0}
The last "0" is the facing. Change it to your desire
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 364
|
knew that part, but how do i know which is south, north, east or west?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
Search, its been posted more then 2 times
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2005
Posts: 357
|
0,65536 - east
16384 - south 32768 - west 49152 - north all other directions in range. so we have own angles from 0 to 65536 = 360 degrees |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|