Game Development Reference
In-Depth Information
Mass
To access and modify the mass of our agents we can use the agent's
GetMass
and
SetMass
helper functions.
local mass = agent:GetMass();
agent:SetMass(mass);