I have a problem with a character. I've been created a .x character from max exported with Panda, the problem is that the character is not in the correct position.
I try to explain it better:
If I specify the position with actor.Direction (DI_UP), the result is the same as actor.Direction (DI_LEFT). The character is rotated 90º to the right
If I put a light in the geometry file, the shadow is projected 90 degrees to the right, but instead of placing the light in the geometry file, I put the light in code with actor.SetLightPosition (x, y, z), where x, y, z as the same position that in the .3ds file, the shadows is display correctly.
I thought that maybe the character had to be in a exactly position respect to the z axis, we have rotated the character 90 degrees to the left, but the result is the same.
Any ideas?
This is a scene with actor.Direction(DI_UP) and the light in the 3ds geometry file:
This is a scene with actor.Direccion(DI_UP) and the light is in the script with actor.SetLightPosition(x,y,z):