Game Development Reference
In-Depth Information
The target speed
To adjust our agents' speed to match their desired target speed, we can use the For-
ceToTargetSpeed function to calculate a steering force that will cause our agents to
speed up or slow down:
local forceToSpeed = agent:ForceToTargetSpeed(targetSpeed);
Search WWH ::




Custom Search