Relocate Nodes Fix

HomeForumsA* Pathfinding ProjectSupportRelocate Nodes Fix

Tagged: 

This topic has 2 voices, contains 3 replies, and was last updated by  Derp123 105 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
February 3, 2012 at 00:24 #1402

Casey

I recently found a small bug in the RelocateNodes(Matrix4x4 old, Matrix4x4 new) method, while correctly implemented in the base class, it does not function properly in the Grid Generator class.

To get it to work properly, override RelocateNodes in GridGenerator, and transform the grid center by the same matrix used to transform the nodes, and call GenerateMatrix() to ensure that the inverse matrix and bounding matrix used to determine the nearest nodes are set correctly.

Other than this small hiccup this has been a great system to work with so far and I\\\’m really excited to see everything it can do.

February 3, 2012 at 15:53 #1406

Aron Granberg

Thanks for the heads-up.
Added to the stuff-to-fix list.

February 4, 2012 at 00:38 #1407

Derp123

pentest

February 4, 2012 at 00:40 #1408

Derp123

\ ▲

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Relocate Nodes Fix
Your information:






<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>