Code
include "xors3d.bb"
xgraphics3d 640,480
pxcreateworld(1,"")
cam=xcreatecamera()
xpositionentity cam,0,0,-10
cube=xcreatecube()
pxcube=pxbodycreatecube(1,1,1,1)
pxbodysetposition pxcube,0,10,0
while not xkeydown(1)
pxrenderphysic(30,0)
pxbodysetentity(cube,pxcube)
renderworld()
flip
wend
Выдает ошибку "memory acces violation", а на чистом блитце работет. Подскажте пожалуйста что не так.