playMaker

Author Topic: How to set player jump to a target position?  (Read 293 times)

JOY

  • Junior Playmaker
  • **
  • Posts: 51
  • From JOY Entertainment
    • View Profile
    • JOY Entertainment
How to set player jump to a target position?
« on: December 27, 2016, 08:24:58 AM »
Hi,

I'd like to set a Velocity to let the player jump toward target position (next to the enemy). Is it possible to do it in PlayMaker?

So far I have these variables: Player speed, target position.

Similar issue with script:
https://forum.unity3d.com/threads/how-to-calculate-force-needed-to-jump-towards-target-point.372288/

Thanks,
Anh

JOY

  • Junior Playmaker
  • **
  • Posts: 51
  • From JOY Entertainment
    • View Profile
    • JOY Entertainment
Re: How to set player jump to a target position?
« Reply #1 on: December 29, 2016, 07:50:25 PM »
Hi again.
I ask my programmer to make a custom action and here it is. Feel free to give your feedback.

krmko

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • Fat Pug Studio
Re: How to set player jump to a target position?
« Reply #2 on: December 30, 2016, 06:39:24 AM »
Quite the math involved! Thanks for this one.