playMaker

Author Topic: Using Compare Tag with a RayCast [Solved]  (Read 4555 times)

pandigital

  • Playmaker Newbie
  • *
  • Posts: 23
Using Compare Tag with a RayCast [Solved]
« on: October 01, 2011, 06:39:14 AM »
Hi
I'm having a problem comparing a GO tag with a Raycast hit
Using GO compare works fine but using tag compare does not trigger an event.
The tag Compare Tag action updates when the ray hits the object -BUT the action itself is greyed out, why is this?
See attached.

Also where is the enable Gizmos setting ( https://hutonggames.fogbugz.com/default.asp?W492 ) so I can see my ray?

TIA
« Last Edit: October 02, 2011, 03:13:24 AM by pandigital »

pandigital

  • Playmaker Newbie
  • *
  • Posts: 23
Re: Using Compare Tag with a RayCast
« Reply #1 on: October 01, 2011, 06:09:00 PM »
I'm guessing this isn't working because unlike GO compare there is no option to check every frame.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Using Compare Tag with a RayCast
« Reply #2 on: October 01, 2011, 08:49:31 PM »
Enable Gizmos is a Unity option in the Game View toolbar.

I'll post a version of Game Object Compare Tag with an every frame option.

EDIT: Posted modified action here:

http://hutonggames.com/playmakerforum/index.php?topic=768.0

Will be included in next update...
« Last Edit: October 01, 2011, 08:57:55 PM by alexchouls »

pandigital

  • Playmaker Newbie
  • *
  • Posts: 23
Re: Using Compare Tag with a RayCast
« Reply #3 on: October 02, 2011, 03:11:30 AM »
Brilliant - thank you
Working now :)