How can I use my own .obj file instead of a cube or torus in jit.jl.gridshape?

Felix Geerts's icon

Im trying to controll the rotation of a obj file with a joystick on my arduino.
I figured out how to controll the speed and direction of the rotation but i cant figure out how to use my own 3d models instead of the standard shapes of jit.jl.gridshape...

Thanks in advance!

joystickobjpatch.maxpat
Max Patch
Rob Ramirez's icon

jit.gl.model