FartAnnoyed - Rect not getting assigned values?
Posted: December 16th, 2020, 8:24 pm
Hi friends,
just having kinda seizure already from this, even though it will probably end up being something really stupid.
Basically I'm doing the 1st part of FartAnnoyed (beginner 20.1) and when I was about to test the wall collision of the ball, I was getting insta errors so I debugged to the core and found out my Rect doesn't get assigned any values and I don't know why, even the calculations of Vec2 operations seems kinda off even though the operators overload definitions seem correct to me. Attaching my solution (cleaned it but it still got 8MB so sorry if not cleaned properly) + this screenshot where you can see the operations, there is correct value for center of the ball and the radius but for some reason it doesn't get assigned to the RectF.
just having kinda seizure already from this, even though it will probably end up being something really stupid.
Basically I'm doing the 1st part of FartAnnoyed (beginner 20.1) and when I was about to test the wall collision of the ball, I was getting insta errors so I debugged to the core and found out my Rect doesn't get assigned any values and I don't know why, even the calculations of Vec2 operations seems kinda off even though the operators overload definitions seem correct to me. Attaching my solution (cleaned it but it still got 8MB so sorry if not cleaned properly) + this screenshot where you can see the operations, there is correct value for center of the ball and the radius but for some reason it doesn't get assigned to the RectF.