Hello, I wanted to make a 3rd person and decided to use a csColliderActor for my mesh. The collision detection works fine, but it appears thet the shading of the mesh is only updated per frame when the mesh is moved by the collider actor(vector is not zero), not when the mesh it just rotated. I managed to get shading update done every frame by moving the mesh back and forth every frame, like this:
collider_actor.Move(dt, GAME_SPEED, XZspeed*CS_VEC_FORWARD+csVector3(0,0,0.1f), 0);
collider_actor.Move(dt, GAME_SPEED, -csVector3(0,0,0.1f), 0);
But it looks kinda clumsy, don't you guys agree? If anyone knows how to get shading updated the right way, I'd be happy to hear.