playMaker

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

j0hnbane

  • Playmaker Newbie
  • *
  • Posts: 13
    • View Profile
[SOLVED] Capturing an Object's Speed Every Frame
« on: August 29, 2016, 09:55:13 AM »
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, 05:07:12 PM by j0hnbane »

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 607
    • View Profile
    • Flashing Lights
Re: Capturing an Object's Speed Every Frame
« Reply #1 on: August 29, 2016, 11:05:10 AM »
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
    • View Profile
Re: Capturing an Object's Speed Every Frame
« Reply #2 on: August 29, 2016, 11:13:22 AM »
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