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

Method getHidingPosition

Processing/game2dai/steering/AutoPilot.java:2189–2204  ·  view source on GitHub ↗

Given the position of a hunter, and the position and radius of an obstacle, this method calculates a position DistanceFromBoundary away from its bounding radius and directly opposite the hunter.

(MovingEntity me, Obstacle ob, BaseEntity target)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

hideMethod · 0.95

Calls 6

subMethod · 0.95
normalizeMethod · 0.95
multMethod · 0.95
addMethod · 0.95
colRadiusMethod · 0.80
posMethod · 0.80

Tested by

no test coverage detected