Tag Info

New answers tagged


After a lot of decoding, trial and error I took dtCrowd.resetMoveTarget as a base and found a way to modify it: procedure TKMTerrainNavigation.AgentTargetClear(aIdx: Integer); var ag: PdtCrowdAgent; begin ag := fRecastCrowd.getAgent(aIdx); ag.targetRef := 0; dtVset(@ag.targetPos[0], 0, 0, 0); ag.targetPathqRef := DT_PATHQ_INVALID; ...

Top 50 recent answers are included