Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: emc2 on March 26, 2019, 07:48:19 AM

Title: footsteps without character
Post by: emc2 on March 26, 2019, 07:48:19 AM
Hi,
How to make footsteps but without character for FPS game?
Any idea?
Title: Re: footsteps without character
Post by: tcmeric 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).
Title: Re: footsteps without character
Post by: emc2 on March 27, 2019, 02:45:47 AM
Ok, I will try it, thanks!