Quantcast
Channel: Answers for "Raycast executing hundreds of times"
Browsing all 4 articles
Browse latest View live

Answer by meat5000

It stems from your Update void Update () { Messenger.AddListener ("melee attack made", EvaluateAttack); } It keeps evaluating with no condition. When the raycast is true it still keeps evaluating and...

View Article


Answer by Sendatsu_Yoshimitsu

Hmm, I think I must be missing something- I tried setting up a bool to indicate whether or not I wanted the messenger to fire, and toggled it with each attack (which in turn is constrained by a...

View Article


Answer by meat5000

It stems from your Update void Update () { Messenger.AddListener ("melee attack made", EvaluateAttack); } It keeps evaluating with no condition. When the raycast is true it still keeps evaluating and...

View Article

Answer by Sendatsu_Yoshimitsu

Hmm, I think I must be missing something- I tried setting up a bool to indicate whether or not I wanted the messenger to fire, and toggled it with each attack (which in turn is constrained by a...

View Article
Browsing all 4 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>