playMaker

Author Topic: addForce Action being ignored  (Read 3038 times)

eccoecco

  • Playmaker Newbie
  • *
  • Posts: 19
addForce Action being ignored
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: addForce Action being ignored
« Reply #1 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: addForce Action being ignored
« Reply #2 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

Bye,

 Jean

shinodan

  • Full Member
  • ***
  • Posts: 180
    • Shinozone
Re: addForce Action being ignored
« Reply #3 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. :(

iPetProjectDev

  • Playmaker Newbie
  • *
  • Posts: 23
Re: addForce Action being ignored
« Reply #4 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