Setting up a Footstep Surface Object
Last updated
Last updated
Note: If you want to create you own Footstep Surface Object, you can do so by seeing the Creating a Footstep Surface Object section.
Ensure you have properly set up your AI's Footsteps Component before proceeding. If you have not done so, please see the Setting up the Footsteps Component section.
To set up a Footstep Surface Object, you will need to choose whether you want your Footstep Surface Object to use Tags or Textures. Tags are received from the Unity tag of the detected game object upon a successful footstep. Textures are received from the texture of a Unity Terrain upon a successful footstep. Both of these use the current footstep's position.
If the Unity tag or textures are detected at the footstep's current position, that Surface Footstep Object will be used and its Step Sounds, Step Effects, and Footprints will be used.
Note: You can hover over each setting to view a tooltip description of it.
Your Step Effects and Footprint objects need to have their local up axis facing up (when their rotation is 0,0,0). You can refer to the included Step Effect and Footprint object for an example of this.
Important: Ensure that Unity's Toggle Tool Handle Rotation is set to local and that the green arrow is facing up when all rotations are set to 0. This allows the footstep effects and footprints to spawn correctly.