Game Development Reference
In-Depth Information
Creating a body
So far, we've hardcoded a lot of functionality directly inside our sandbox or agent Lua
scripts. Now, we'll be using the same logic, but instead of duplicating it in multiple places,
we'll be using helper functions provided by src/demo_framework/script/Sol-
dier.lua . The functions within the soldier Lua script are specialized and tuned to
provide the correct steering weights and animation representation in order to create a soldi-
er going forward. The animation state machines found within the soldier script are a more
flushed-out representation of the same state machines that we created previously.
Search WWH ::




Custom Search