playMaker

Author Topic: AddForce like AddForce2D - JUMP IN 2D (SOLVED)  (Read 2777 times)

xhidnoda

  • Full Member
  • ***
  • Posts: 231
AddForce like AddForce2D - JUMP IN 2D (SOLVED)
« on: August 16, 2014, 01:51:26 AM »
Usually in addForce use force mode with "impulse" to jump my player.
But in a 2D project with RigiBody2D I can not perform the "impulse" that is not available.
So, how can my player jump like he always did with addForce3D?
« Last Edit: August 16, 2014, 03:17:07 PM by xhidnoda »

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: AddForce like AddForce2D - JUMP IN 2D (SOLVED)
« Reply #1 on: August 16, 2014, 03:16:38 PM »
nevermind...i use set velocity 2D.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: AddForce like AddForce2D - JUMP IN 2D (SOLVED)
« Reply #2 on: August 18, 2014, 04:36:54 AM »
Hi,

 also, force methods has been now added to the Unity api, you can download the action via the ecosystem for this or directly here. I am currently in the process of revamping the Unity 2d package, and it will be feature this mod and others.


 Bye,

 Jean

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: AddForce like AddForce2D - JUMP IN 2D (SOLVED)
« Reply #3 on: August 20, 2014, 08:43:18 AM »
GREAT!!!