Game Development Reference
In-Depth Information
The shoot command
As shooting is completely based on the weapon's muzzle position and orientation for now,
we let the ASM callback shoot a projectile into the environment. The shoot command is
merely responsible for requesting the appropriate animation state. Here, you can see the
agent ready to shoot in the shoot state:
SoldierController.lua :
local function _ExecuteShootCommand(
self, agent, deltaTimeInMillis)
Search WWH ::




Custom Search