Memory Access Violation
Blitz3D Forums/Blitz3D Beginners Area/Memory Access Violation
| ||
I was just playing around with basic 3D commands and got this error anyknow know what it means? |
| ||
OneHitWonder, I didnt get any MAV, just a "Entity Does not exist" (set the debug mode on, it will help you catch a few those errors easier. Otherwise you wouldnt have any clue). Anyways, it happened because you didnt close the "CreateCube" with "()". And the CameraViewport is unnecessary there. If Im not misunderstood all the cameras created have a viewport from 0,0 to Width,Height. You just need it using multiple cameras to prevent a camera overlay another camera viewport. cya |
| ||
Cheers for your help Ian forgot I didn't have debug mode on, as for the CameraViewPort I just use it for pratice but cheers. OneHitWonder |
| ||
One thing I've noticed about functions that is usefull - if you don't put brackets on them in Blitz, they will not return a value. In this case, that means that the variable 'cube1' becomes = to 0. |