Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: HeathClose on April 25, 2017, 06:50:54 PM

Title: Negate the raycast returned hit event?
Post by: HeathClose on April 25, 2017, 06:50:54 PM
right now there is a setting in all cast actions to Invert Mask so that you can pick all the layers except those defined to register a hit...

what I need to do is Invert the Return... the opposite of checking for grounded... I need to check if I'm not grounded... I need to stop the player from using a power they can only use grounded... but I don't think that's an option in the action, is it?  I only want to send a "hit event" if it stops hitting the ground layer....

How could I achieve that?
Title: Re: Negate the raycast returned hit event?
Post by: terri on April 25, 2017, 09:08:35 PM
There is a bool field "store did hit", which you can use to check for a false value.
Title: Re: Negate the raycast returned hit event?
Post by: HeathClose on May 04, 2017, 09:36:05 AM
i'll take a look, thank you