View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004270 | AI | AI | public | 2014-01-13 09:09 | 2014-01-13 13:46 | ||||
Reporter | shaitan | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Summary | 0004270: GetApproximateLength() always returns zero | ||||||||
Description | the 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|