How to create heart rate GO

Is there any guide to create heart rate using scripts in Unity3D ? It need to simulated based on protagonist state (is running is protagonist fighting or not etc).

Do you mean drawing this kind of animated image for UI / HUD… or ?

Yes. Using sprite sheets is one option not but is there any other way do it ? Using scritps using on magical maths funcs ?

It might be possible to do it using a trail renderer particle effect on an empty and then have your code change the position of the particle effect depending on what the player does so you’d need to record the velocity for example of the player.

However for specifics you’d have to talk to someone else as I’m still quite new to Unity.

moving gameobject with trail renderer might work well actually (you get the fading out effect automatically then )

or get from asset store :slight_smile:

other ideas

Just make a single looping image. Scroll the image faster or slower depending on the users heart rate.

Hey know its been a while since the thread started, but how does do you scroll images?

Transform.position…