Now that we’ve seen how we can allow users to interact and control things happening in our world, we can see why we need to program our worlds to be able to react the way we want in a variety of situations.
Let’s consider something very simple.
I want a zombie to walk the length of a pier.
I can play around figuring out exactly how far he needs to move forward so that he gets exactly to the end.
But, if I then go and resize my pier (maybe because I need to fit more things in the world, or maybe my world is a game where the user can cause the pier to change sizes) – my carefully calculated number of meters to move forward won’t work.
Want to see what we’re talking about? Watch the video below.