Crashed ipad1

I’m working on images and 3d figures, but I have a problem, when i rotate a new figure(rect) and run the program codea tends to crash . when I open codea, my object is perfectly rotated

I think it is no coincidence that, and done it like 10 times.

I get crashes in the most strange circumstances in Codea too, so you’re not alone. Could you post some code for better clarity?

prueba2 = class()

function prueba2:MENSAJE()
return "WORKING WITH FLAT IMAGES IN 3D"
end

function prueba2:draw()

pushMatrix()
pushStyle()
 --> MAKE ANOTHER FOOR
rotate(Angulo,0,1,0)
translate(0,-tamano/2,0)
rotate(90,1,0,0)
sprite("Cargo Bot:Goal Area",0,0,tamano*2,tamano*2)

resetMatrix()
fill(255,190)
stroke(0)
strokeWidth(5)
rotate(Angulo,0,1,0)  
translate(-70,-70,100)
rect(0,0,tamano,tamano)
 
resetMatrix()
fill(55,130)
rotate(Angulo,0,1,0)  
translate(-70,-70,80)
rect(0,0,154,150)

popStyle()
popMatrix()

end

I get crashes on my iPad1 also. It’s not just running code in Codea. I’ll paste some code into a project and it crashes. I open the project back up and the code I was trying to paste is there. It’s as if it does what I’m trying to do, but crashes before it shows what it did.

@dave1707 me too!!.

when I copy the code, and is quite extensive is that codea crashes, but if the code is short not

@dave1707- @Zoyt.
recommend using iCleaner, I use it when it crashes codea, and since then spends little