Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Uladzimir on July 04, 2013, 07:33:17 AM

Title: Add Force - 1.6.2
Post by: Uladzimir on July 04, 2013, 07:33:17 AM
I updated version of the PM (1.6.1 -> 1.6.2) and function Add Force crazy :o
All objects have to fly a thousand times faster.
Including a scene from the forum - DragAndShoot - http://hutonggames.com/playmakerforum/index.php?topic=2544.msg11374#msg11374
I replaced the script AddForce.cs a version of 1.6.1 and everything worked as before

(Unity 4.1.5.f1)

What PM version is working correctly?
Title: Re: Add Force - 1.6.2
Post by: jeanfabre on July 04, 2013, 08:00:47 AM
Hi,

 for some reason the forcemode was not carried over. I am not sure what happened here, I can repro.

 Simply edit your action "force mode" and set it back to "Force"

bye,

 Jean
Title: Re: Add Force - 1.6.2
Post by: Uladzimir on July 04, 2013, 09:01:14 AM
I use to Add Force - Force Mode / Impulse
If you select the "Impulse" - a Force - crazy.
If the Force Mode - "Force" - then all is ok.

 May be 'Impuls' does not work correctly?

bye,

 Uladzimir
Title: Re: Add Force - 1.6.2
Post by: Alex Chouls on July 04, 2013, 11:11:57 PM
There was a bug in earlier versions where the force mode wasn't actually used! It always defaulted to ForceMode.Force.

The action now uses the specified force mode. If the behavior has changed for you with the update, try setting the force mode to ForceMode.Force. That should behave the same as before.

Sorry about the confusion!
Title: Re: Add Force - 1.6.2
Post by: Uladzimir on July 05, 2013, 05:35:55 AM
Thanks for the quick answers!

bye,

 Uladzimir