I'm using POINT OBJECT to rotate my tank turret towards a target. I can get it to point to the object, but in doing so it disappears on occasion. It rotates correctly, I can still fire shots from the tank and they travel in the right direction, the turret disappears.
Printing off continuous debug information, the POS, ANGLE, and VISIBILITY of the turret all remain constant, but the thing just doesn't render :/
I've uploaded my code and materials. The code also uses EZ Rotate for other functions. But I also included the executable you can run, the CSM file with all associated media with it as well.
Has anyone else run into this before? Its peculiar that the object rotates correctly, but sometimes just doesn't appear. It seems through casual observation that the closer the turret is to the object, the more likely it is to disappear.
NOTE: if you modify the level geometry in anyway within the CSM map, you must also rexport it as well as a .X file with IanM's exporter.
CONTROLS: Left mouse to move forward, right mouse to move back. Move mouse cursor to move camera, press "1" to fire the tank
EDIT: Rotating the object might cause it to cull incorrectly with DB, causing it to not render. Anyway to force an object to render?