playMaker

Author Topic: footsteps without character  (Read 926 times)

emc2

  • Playmaker Newbie
  • *
  • Posts: 12
footsteps without character
« on: March 26, 2019, 07:48:19 AM »
Hi,
How to make footsteps but without character for FPS game?
Any idea?

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: footsteps without character
« Reply #1 on: March 26, 2019, 08:48:51 AM »
By measuring the distance travelled. For each x distance travelled, play the footstep sound.

You can get the distance travelled by checking the current position, from the last position, every Y amount of time. (Vector3.Distance).

emc2

  • Playmaker Newbie
  • *
  • Posts: 12
Re: footsteps without character
« Reply #2 on: March 27, 2019, 02:45:47 AM »
Ok, I will try it, thanks!