Game Development Reference
In-Depth Information
Updating senses
Updating agent senses is nearly identical to initialization, except that we pass in the sand-
box and a deltaTimeInMillis time difference, so we throttle the update rate of indi-
vidual senses:
AgentSenses.lua :
function AgentSenses_UpdateSenses(
sandbox, userData, deltaTimeInMillis)
end
Search WWH ::




Custom Search