From: Rodrigo P. <r4...@ho...> - 2001-06-06 20:21:18
|
> Hmm, that code looks right to me. Maybe you need to describe more > on how exactly the camera moves outside the sector? Normally the camera > will not move anymore but the mesh will which will cause the camera to > follow by using the above code. Is this what you're doing? > > Also what exactly is happening? Ok. The map i'm using is large.zip which comes with CS. I have loaded the sprite "sprite1" from the file "standard.zip" which comes with CS. I've placed the sprite at position (0,0,0) and call that code to place the camera right behind the sprite (0,0,0.5). When i start walking forward it seems to be ok. The sprite is also walking along with the camera. When i reach the limits of the sector the screen freezes. If i turn around i can see the sector i was before, but i'm in empty space, nothing before the room. And the space around the sector is "dirty". I've debugged the code and noticed that the sector really was updated with camera->SetSector(), but when i get to that part of the code again, the sector of the camera points to the sector it was before i change it. It seems that i changed another camera, but it's not true because the other commands work perfectly. Isn't it weird? Did Dreams Eternal work fine with CS 0.18? Rodrigo Pedrosa |