Game Development Reference
In-Depth Information
Velocity
Similarly, to access and set the velocity of our agents, we can use the GetVelocity and
SetVelocity functions.
local velocityVector = agent:GetVelocity();
agent:SetVelocity(velocityVector);
Search WWH ::




Custom Search