Setting up a Footstep Surface Object
Last updated
Was this helpful?
Last updated
Was this helpful?
Ensure you have properly set up your AI's Footsteps Component before proceeding. If you have not done so, please see the 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.
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 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.