Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fome on September 15, 2015, 03:56:04 AM

Title: Set Velocity 2d in Local Space
Post by: Fome on September 15, 2015, 03:56:04 AM
Hi All.

Loving playmaker so far.

However, I'm having some trouble moving a projectile in my 2d project.

It has a box collider and a rigidbody2d and I would like to move it using Set Velocity however the action only works in world space.

Is there a better way to do this? I noticed that the 3d action has a Local Space toggle...

Add Force 2d doesn't give quite the effect I'm looking for and I don't want to use Translate given the physics...

Any help would be appreciated. I already searched the ecosystem for an updated action.

Thank you.
Title: Re: Set Velocity 2d in Local Space
Post by: dudebxl on September 15, 2015, 09:58:34 AM
Maybe this is what u need

http://hutonggames.com/playmakerforum/index.php?topic=10600.0

  :o
Title: Re: Set Velocity 2d in Local Space
Post by: Fome on September 15, 2015, 09:47:17 PM
I used this with Add Force 2d and got the desired effect.

Thank you very much!