playMaker

Author Topic: Help with get speed and get angle.  (Read 1228 times)

Awkward Science

  • Playmaker Newbie
  • *
  • Posts: 1
Help with get speed and get angle.
« on: August 16, 2016, 08:13:01 AM »
Hi all,
I'm pretty stumped on how to get the angle (relative to the ground) and speed of a physics object. The end goal is to be able to immediately determine the distance it will travel by plugging these values in a parabola equation (with 0 drag and constant gravity).
The get speed action only works when the 'every frame' option is used, which doesn't really help me.
As far as angles go, I've been trying to use the 'get angle to target' action, which doesn't seem to be doing the trick. I've tried using the ground as target location, and also placing another game object in the distance as target location. A value is given, but it doesn't seem any where near expected. Would vector3 be better?

I would really appreciate any input, and it is certainly possible that the whole thing is unnecessary anyway if you know of a simpler way to approach the problem.

Lots of thanks in advance.