playMaker

Author Topic: Add Force to held object  (Read 1066 times)

oishiiniku

  • Playmaker Newbie
  • *
  • Posts: 6
Add Force to held object
« on: September 24, 2015, 11:26:25 PM »
Hi there, I'm trying to put together an FSM that will let me pick up and throw game objects. I have it (mostly) working, but I can't work out how to get the Add Force to be applied in a forward direction. I can hook up an FSM similar to the 'Add Force' Showcase scene and it works as intended, but when I try to apply the same method to my 'Pick Up and Throw' FSM I can only get the object I pick up to be thrown in the normal vector of the held object itself, rather than away from the camera. I'm guessing I need to define the camera's vector somehow, not sure how to do that though. Attached is a screencap of the 'throw' state as it stands. Any help would be much appreciated!