Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Emgiell on October 21, 2019, 02:25:56 AM

Title: Get Game Object Speed - "Speed Vector" does not seem to work
Post by: Emgiell 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.
Title: Re: Get Game Object Speed - "Speed Vector" does not seem to work
Post by: jeanfabre on October 30, 2019, 02:59:28 AM
Hi,

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

Bye,

 Jean