For enemies in a video game is there a way to change / generate an animation based off predefined code to work in any given environment.
An example could be a giant spider walking over rough terrain, or other stuff.
I intend to use this to use different attacks depending on where the user is (ie. hitting a large spider arm around a stone beam)
Generally looking for the name of what I am explaining so I can research it.