playMaker

Author Topic: How to throw an item in 2D  (Read 1835 times)

gnetro

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
How to throw an item in 2D
« on: August 04, 2013, 08:59:28 AM »
Is there an action include in playmaker that allows you to throw an item?

VectorF22

  • Junior Playmaker
  • **
  • Posts: 50
    • View Profile
Re: How to throw an item in 2D
« Reply #1 on: August 04, 2013, 09:47:44 AM »
If you're looking for a simple push of force on the object using the built in physics, then you could use the 'Add Force' action and have the values set to match the direction you want the force applied.

Hope this helps!

gnetro

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: How to throw an item in 2D
« Reply #2 on: August 04, 2013, 10:38:52 AM »
oh thanks :)

KozTheBoss

  • Full Member
  • ***
  • Posts: 150
  • You dont fail unless you give up trying to succeed
    • View Profile
    • Pixel Life - portfolio
Re: How to throw an item in 2D
« Reply #3 on: August 04, 2013, 04:18:11 PM »
also, on the object that you are throwing, you should restrict it's movement in the Z axis (if it's a sidescroller you are making) which will make it only move left, right, up and down.
Remember, you don't fail unless you give up trying to succeed!