Skip to content

Instantly share code, notes, and snippets.

View JuJuBoSc's full-sized avatar

Julian Bosch JuJuBoSc

View GitHub Profile
m_MeshMap = MeshMap.LoadMap(1);
if (m_MeshMap != null)
{
Console.WriteLine("Map loaded !");
int l_TileX, l_TileY;
Maths.WoWMath.GetTile(ObjectManager.ActivePlayer.Position, out l_TileX, out l_TileY);
m_MeshMap.LoadAllTiles();
}
public static Vector3 FromWowToRecast(Vector3 p_WowVector)
{
return new Vector3(p_WowVector.Y, p_WowVector.Z, p_WowVector.X);
}
public static Vector3 FromRecastToWow(Vector3 p_WowVector)
{
return new Vector3(p_WowVector.Z, p_WowVector.X, p_WowVector.Y);
}
[23:50:30] [Default] [MOVEANDSTEER] => Key: MButton
[23:50:30] [Default] [MOVEFORWARD] => Key: Z
[23:50:30] [Default] [MOVEFORWARD] => Key: Up
[23:50:30] [Default] [MOVEBACKWARD] => Key: S
[23:50:30] [Default] [MOVEBACKWARD] => Key: Down
[23:50:30] [Default] [TURNLEFT] => Key: Q
[23:50:30] [Default] [TURNLEFT] => Key: Left
[23:50:30] [Default] [TURNRIGHT] => Key: D
[23:50:30] [Default] [TURNRIGHT] => Key: Right
[23:50:30] [Default] [STRAFELEFT] => Key: A