Playmaker Forum
PlayMaker Feedback => Feature Requests => Topic started by: hh on February 08, 2016, 12:20:05 PM
-
It would be useful for the Raycast action to optionally ignore trigger colliders in the scene.
The ideal functionality would mirror Unity's QueryTriggerInteraction enum:
http://docs.unity3d.com/ScriptReference/QueryTriggerInteraction.html
-
I modified the raycast action to ignore triggers and saved it as a separate action- find it here http://hutonggames.com/playmakerforum/index.php?topic=12202.0
Just had to add QueryTriggerInteraction to this line
Physics.Raycast(originPos, dirVector, out hitInfo, rayLength, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value), QueryTriggerInteraction.Ignore);
-
+1 to add to ecosystem
@mdotstrange. Thanks you for all the recent actions. Could you possibly put them on the ecosystem (using snipt.net). Many thanks
-
Thank you.
-
@hh No prob!
@dudebxl I have just hacked a few together :) I added them to snipt and they should now show up in Ecosystem- thank you for all your awesome actions! I use them all the time and plan to use the fighter cam one you did soon :D