cant position camera
BlitzMax Forums/MiniB3D Module/cant position camera
| ||
When i use positionentity on a camera it crashes because the camera has a null matrix positionentity calls the updatemat method which makes it crash the same goes for rotateentity If I try to parent a skybox to the camera it does Method Overwrite(mat:TMatrix) which crashes with a null matrix |
| ||
Code? Did you call Positionentity for the camera before initiliazing the Graphics with graphics3d 800,600..? |
| ||
no Im trying to make a small app to demonstrate the error but I cant reproduce it so far. |
| ||
ah-ha there was a clearworld hidden in the code somewhere, thats good though because now I can tell when an entity has been freed, if it has a null matrix |