Head rotation (look)
While programming the main character's head, she made really strange movements, for example, she broke her neck by turning her head vertically too much up or down. She also, whenever she turned her head, went off-stage, or looked into the fourth dimension.
Move(walk and actual problem)
She has walked forward in several strange ways such as: walking up (flying), walking backward, walking sideways or walking in the four-dimensional world.
This was very frustrating and I'm fixing it.
I've used the code:
func mover(): var direcao = Vector3(0,0,-1).rotated(Vector3.UP, rotation.y) direcao.y = 0 if direcao.length() > 0.001: direcao = direcao.normalized() translate(direcao * 0.1)
This didn't work, despite changing the axes several times. If any dev knows another way to make this character just walk forward, let me know.
Another information
Spotlight isn't very good for a mobile project because it takes a lot of rendering. I used one on the lampshade and it looked so beautiful I couldn't remove it. I really liked it, but to avoid crashing the game, I won't use more than 1
0 comments