Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: eccoecco on April 24, 2012, 11:52:05 AM

Title: addForce Action being ignored
Post by: eccoecco on April 24, 2012, 11:52:05 AM
Hi,
I'm having a real issue understanding why the addForce action is not being called.  I've given my ball, tagged "Player" a rigidbody and even set the state to also have the object blink to acknowledge for me that it is recognizing the collision between it and the red block (tagged "points").  However, the addForce action (which is listed above the sendEvent action) is ignored.  I want the ball to be pushed directly upward when it contacts one of the red boxes but no luck.

Any suggestions?
Eric
Title: Re: addForce Action being ignored
Post by: jeanfabre on April 24, 2012, 12:23:49 PM
hi,

 I am about to release the jump game from M2H all ported in playmaker and it uses Add force action, so stay tune, you'll soon have a working example to work from.

 Bye,

 Jean
Title: Re: addForce Action being ignored
Post by: jeanfabre on May 09, 2012, 05:51:18 AM
Hi,

 It's up now, so you can study a working example and likely adapt it to your need.

https://hutonggames.fogbugz.com/default.asp?W880 (https://hutonggames.fogbugz.com/default.asp?W880)

Bye,

 Jean
Title: Re: addForce Action being ignored
Post by: shinodan on May 09, 2012, 05:59:38 AM
try decreasing the mass of your rigidbody or increasing the force applied to the ball.

I see nothing wrong with your setup. :(
Title: Re: addForce Action being ignored
Post by: iPetProjectDev on May 22, 2012, 03:19:20 PM
Try waking the rigidbodies. It may help as I had an unresponsive to AddForce rigidbody and just a wake up call fixed it. Under the Physics Actions."Wake Up".

HTH