The resolution: Unity physics are unreliable on FixedUpdate 0. Now I just don't activate the colliders until the second frame and that seems to fix the problem.
Weird #unity bug:
I have a trigger zone that causes damage to the player when they touch it. Everything works perfectly, except that I get one frame of damaging collision when I load a particular level. This only happens when I load this level from a previous level, not when I run it directly.
Here's what's really weird: when I look at the stack trace, the zone has transform pos: (-0.100000001, 0, -0.5) rot: eulerAngles: (-0, 0, 0) scale: (10, 1, 10), while the colliding player has transform pos: (20, 0.560276091, -20) rot: eulerAngles: (-0, 0, 0) scale: (1, 1, 1). How are these two colliding?
Today's music:
Shepherds Reign - Nafanua
#mastomusic #metal #music #np #NowPlaying #NuMetal #GrooveMetal #Polynesian #samoa
What's the best crunchy simulation #ttrpg?
If you don't have to be on the northern Oregon coast right now, don't go. There is significant flooding in Seaside, Tillamook, and elsewhere. School districts are closed, rail lines are washed over with landslides. It's a dangerous situation. If you live there, please be safe. If you don't, stay away.
#Oregon #PNW
https://www.opb.org/article/2023/12/05/rain-flood-oregon-coast-tillamook-seaside-highway-101/
CS professor, game designer, and fire dancer ordinaire.