MCPcopy Create free account
hub / github.com/dabing1022/Blog / pathFollow

Method pathFollow

Processing/game2dai/steering/AutoPilot.java:2857–2872  ·  view source on GitHub ↗

PATH Given a series of Vector2Ds, this method produces a force that will move the agent along the waypoints in order. The agent uses the 'Seek' behaviour to move to the next waypoint - unless it is the last waypoint, in which case it 'Arrives' --------------------------------------------------------

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 8

distSqMethod · 0.95
arriveMethod · 0.95
seekMethod · 0.95
pathOffMethod · 0.95
isEmptyMethod · 0.80
posMethod · 0.80
xMethod · 0.45
yMethod · 0.45

Tested by

no test coverage detected