View Issue Details

IDProjectCategoryView StatusLast Update
0004270AIAIpublic2014-01-13 13:46
Reportershaitan Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Summary0004270: GetApproximateLength() always returns zero
Descriptionthe following code:

...
for(std::vector<springai::AIFloat3>::iterator i = metalSpots.begin(); i != metalSpots.end(); ++i) {
...
int length = callback->GetPathing()->GetApproximateLength(commanderUnit->GetPos(), *i, 0, 8.0f);
...}
...

always returns zero path cost:
armcom position: (2565.161133, 120.874695, 4570.481934)
spot position: (5960.000000, 2039.000000, 520.000000)
length: 0
spot position: (9720.000000, 2039.000000, 776.000000)
length: 0
and so on.
TagsNo tags attached.

Activities

Kloot

2014-01-13 13:46

developer   ~0012690

not a bug, wrong input parameter

Issue History

Date Modified Username Field Change
2014-01-13 09:09 shaitan New Issue
2014-01-13 13:46 Kloot Note Added: 0012690
2014-01-13 13:46 Kloot Status new => closed
2014-01-13 13:46 Kloot Assigned To => Kloot
2014-01-13 13:46 Kloot Resolution open => no change required