playMaker

Author Topic: Get Game Object Speed - "Speed Vector" does not seem to work  (Read 1500 times)

Emgiell

  • Playmaker Newbie
  • *
  • Posts: 1
Get Game Object Speed - "Speed Vector" does not seem to work
« on: October 21, 2019, 02:25:56 AM »
Using: https://hutonggames.com/playmakerforum/index.php?topic=1182.msg4961#msg4961

I am not sure what is going on here. The value on the vector never seems to exceed 0.1 or -0.1.

I need this to calculate gravity when a player moves off a platform and am not sure what to do.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Game Object Speed - "Speed Vector" does not seem to work
« Reply #1 on: October 30, 2019, 02:59:28 AM »
Hi,

 if your player has a rigidbody, you should them use the action GetVelocity.

Bye,

 Jean