light was bleeding round doors in my game and no amount of fiddling with individual light positions and parameters could fix it so i just spent 4 days making it so lights turn off in rooms the player can't see,

now the only thing stopping me from finally adding some content to this game is the player's y position suddenly changing at random when passing through doorways

Follow

so i fixed this by just setting the player's y position to 0 after calling Move() on the charactercontroller

i still have no idea why Move() messes with the y position when the player isn't colliding with any solid colliders but That's Unity i guess

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!