16Bit_Felix
Scuffed polygon collision detection (SAT)
I've been sitting on this collision detection for a while now, but it keeps on giving false results, despite numerously checking the execution and theory behind it. Could someone please help me out with this?
(Source code is below)
3 replies
❔ Value types keep on changing??
I have been dealing with this problem for a few days and couldn't find any solution or person who had to deal with the same situation. In my project, one value type (No matter which one) always seems to change it's value after a specific amount of time (time varies with type and there seems to be no reference in the project that changes it unexpectedly). Could it be because of the GC? Or am i doing something wrong code wise?
31 replies
❔ Structure keeps on nulling a field
Hello, there. I'm currently struggling with a problem, which includes a struct of mine that keeps on nulling an uint[] field named "_indices" (which is initialised with a field initialiser) after exiting the constructor. I've tried to initialise it in the constructor instead, but to no avail... Turning the struture into a class seems to fix the problem, but i would like to keep it as a struct
6 replies