playMaker

Author Topic: [SOLVED] Capturing an Object's Speed Every Frame  (Read 1513 times)

j0hnbane

  • Playmaker Newbie
  • *
  • Posts: 13
[SOLVED] Capturing an Object's Speed Every Frame
« 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.
« Last Edit: August 29, 2016, 08:07:12 PM by j0hnbane »

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Capturing an Object's Speed Every Frame
« Reply #1 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.

j0hnbane

  • Playmaker Newbie
  • *
  • Posts: 13
Re: Capturing an Object's Speed Every Frame
« Reply #2 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