playMaker

Author Topic: throwing a game object - what am i missing?  (Read 1681 times)

cbevil

  • Playmaker Newbie
  • *
  • Posts: 1
throwing a game object - what am i missing?
« on: January 13, 2014, 02:06:52 PM »
hello.

bit of a noob question am afraid - am sure its super obvious... but here goes.

am trying to get a 2d character to throw a pre-fab of TNT in unity 2D.
i want to be able to hold the given throw button down and charge up some numbers stored in a float variable which i can use to add 2d force later to the tnt
as it creates itself.

it also needs to be able to be thrown to the right or to the left (depending on
which way the player is facing)

i can't seem to find any kind of way of doing this (some close attempts but nothing perfect) and am obviously missing something totally in my face and simple.


anyone out there with some ideas?



many thanks in advance


c

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: throwing a game object - what am i missing?
« Reply #1 on: January 21, 2014, 02:01:59 AM »
Hi,

 I am planning on porting the unity 2d platform game example to PlayMaker, then you'll have a working playmaker example to study.

Bye,

 Jean