Jump to content

Recommended Posts

3 minutes ago, camelot10 said:

i think offmesh connections help to connect some bad paths in meshes: example caves or Narthalas academy in Azsuna.

requesting good tutorial how use it properly. thanks

@Droidz

I agree, didn't fully understand how do use them properly after adding them via:

 var me = new List<PathFinder.OffMeshConnection>
        {
            new PathFinder.OffMeshConnection(new List<Vector3>
            {
                new Vector3(-8805.438, 663.3263, 96.20168),
                new Vector3(-8809.822, 647.994, 94.38027)
            }, (int) wManager.Wow.Enums.ContinentId.Azeroth),
            new PathFinder.OffMeshConnection(new List<Vector3>
            {
                new Vector3(-8809.822, 647.994, 94.38027),
                new Vector3(-8805.438, 663.3263, 96.20168)
            }, (int) wManager.Wow.Enums.ContinentId.Azeroth)
        };

        wManager.Wow.Helpers.PathFinder.OffMeshConnections.Load();
        wManager.Wow.Helpers.PathFinder.OffMeshConnections.MeshConnection.AddRange(me);
        wManager.Wow.Helpers.PathFinder.OffMeshConnections.Save();

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...