Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: shermanftw on December 28, 2015, 12:22:05 PM

Title: Raycast clear gameobject
Post by: shermanftw on December 28, 2015, 12:22:05 PM
Hello

Been running into a problem for the past day an a half in which I cant figure out how to clear my raycast hit object when I am not looking at it anymore. Is there a way to clear that object once the ray leaves the object? Tried distance checking for a while to no avail.
Title: Re: Raycast clear gameobject
Post by: LogLady on April 13, 2016, 04:27:19 PM
Try Raycast2. You can find it at the EcoSystem.  :)
Title: Re: Raycast clear gameobject
Post by: Zeldag on April 15, 2016, 07:33:58 AM
Or couldnt you just set game object as none when the raycast doesnt return a hit?