Game Development Reference
In-Depth Information
function Sandbox_Update(sandbox, deltaTimeInMillis)
-- Grab all Sandbox objects, not including agents.
local objects = Sandbox.GetObjects(sandbox);
-- Draw debug bounding sphere representations for
objects with
-- mass.
DebugUtilities_DrawDynamicBoundingSpheres(objects);
end
Now when we run the sandbox, we can shoot boxes at our seeking agent and watch it
steer around each object.
Avoiding obstacles using avoidance
Search WWH ::




Custom Search