Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: j0hnbane on August 29, 2016, 12:55:13 PM

Title: [SOLVED] Capturing an Object's Speed Every Frame
Post by: j0hnbane on August 29, 2016, 12:55:13 PM
Please let me start of by saying I'm not a programmer, but I don't mind digging through forums, Google, etc. I've been trying to wrap my head around this for several days.

I need to be able to update a variable every frame with the speed of a game object. I've been reading on vector3's, delta.time, and everything else. I've tried a couple different things, but to no avail.

Could someone tell me how to accomplish this?

Thank you for your time.
Title: Re: Capturing an Object's Speed Every Frame
Post by: 600 on August 29, 2016, 02:05:10 PM
Hello,

There are actions for this:

Get Speed - included in Playmaker for physics gameobjects.
Get Game Object Speed - available from Ecosystem for kinematic and non collider objects.
Title: Re: Capturing an Object's Speed Every Frame
Post by: j0hnbane on August 29, 2016, 02:13:22 PM
Thank you 600.

I'm at work right now, so I cannot pull it up right now. But I look forward to grabbing it.

  :D