June 2nd, 2023
Q&A: What was the strangest bug G2 has come across?
https://www.youtube.com/watch?v=Jqj6l9wXip4&t=558
Suggested Wiki Refrence Code
Topics
Transcription
G2
Yes, so the strangest bug is when I was helping Jace with programming and we had a vehicle bug.
On our test level we have, I guess a flat level, and we have a little ramp and some other stuff around the level.
So when you would drive the vehicle off the ramp in a specific way and jumping out, then the vehicle would disappear.
And then you looked around like on the map and where's the vehicle.
Jace
And
G2
on this level we had a portal, just the designers were testing some things out.
And when you looked at the portal and went to it, you saw the vehicle like coming out to the portal.
So that was a pretty funny bug.
We did track it down to some wonkiness with the math, with the suspension physics that were causing the bounce of the vehicles.
The bounce is like what the vehicle is colliding with.
So the physics went wrong and the bounce started to grow like this until it touched the portal and entered it.
Jace
Yeah, because it was a divide by zero with a force.
That's what it was.
So the forces caused the vehicle to scale infinitely large.
Yeah.
And then it touched the portal and it came back out of the portal with reset physics.
G2
Yes.