- Home /
Question by
aminbenslimen00 · Nov 24, 2019 at 12:13 PM ·
c#collision detectionstatic
is static variables take time to be changed??
I'm trying to make a drawing mechanism using LineRenderer and edgeCollider every thing works pretty well but the issue is i wont th player to draw over a static thing to solve that i used static variable who turn false when the line collide with any thing(OnTriggerEnter2D) , it worked but the bool variable take a delay to be changed wich make a problem when i draw very fast ,i hope you understand what i'm saying
ask2.jpg
(9.6 kB)
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
I can't manage to detect my collisions 0 Answers
C# Collision Script Not Working 1 Answer
Reset a collider during runtime to lose previous Physics.IgnoreCollision() calls 1 Answer