playMaker

Author Topic: get angle to target broken?  (Read 2341 times)

icemacsea

  • Playmaker Newbie
  • *
  • Posts: 6
get angle to target broken?
« on: January 21, 2013, 01:21:58 PM »
I have created a new scene with just two objects in it and I am trying to measure the angle from object 1 to object 2.  I have an FSM (on object 1) with one action in it; a "get angle to target" action that uses the owner as the GameObject and the other object as the target.  No matter where I place the target, the value returned is zero.  Am I doing something wrong?

pedroathumanspot

  • Playmaker Newbie
  • *
  • Posts: 11
Re: get angle to target broken?
« Reply #1 on: January 31, 2013, 06:16:47 AM »
How are you defining the second object? Dragging it from the scene to the action? Perhaps the object is unassigned, no?

icemacsea

  • Playmaker Newbie
  • *
  • Posts: 6
Re: get angle to target broken?
« Reply #2 on: January 31, 2013, 09:38:35 AM »
No, it was definitely assigned.  But I just went back to my test scene and now it's working!  Thanks for your reply.