How can I make shadows for my player in my game everywhere on the map. I had the idea of making the sun follow the player wherever it goes. Unfortunatly, I don't know how. I want the sun to follow the player but never change the way it's globally rotated. HOW??? Could someone help me please?
So I figured it out myself:
The only (simple) thing I had to do is:
Select the lamp (which is set to the object in just the right way so if the object is not moving and the lamp is not moving, the shadow will work.
Shift-select the object that the lamp needs to follow.
Go into Edit Mode and select one vert.
Click Ctrl+P and choose (the only option) parent to vertex.
Go out of Edit Mode and done!
Most basic way would be to parent the sun light to the player object with Ctrl + P.
Maybe there are other methods using logic, maybe with a parent Actuator, I'm not very experienced with the game engine.