Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: pandigital on October 01, 2011, 06:39:14 AM

Title: Using Compare Tag with a RayCast [Solved]
Post by: pandigital 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
Title: Re: Using Compare Tag with a RayCast
Post by: pandigital 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.
Title: Re: Using Compare Tag with a RayCast
Post by: Alex Chouls 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...
Title: Re: Using Compare Tag with a RayCast
Post by: pandigital on October 02, 2011, 03:11:30 AM
Brilliant - thank you
Working now :)