move models in three dimensions with jit.gl.node

pipi5800's icon

Hello!
I need some helps. Is it ok to post my question?
So, I want to animate models bundled with jit.gl.node object.
I watched openGL tutorial in cycling74.
here's link : https://cycling74.com/wiki/index.php?title=00_Getting_Started_with_openGL
and I'm trying to repeat this but It's not working.
and when I use message box, It only makes models move horizontally. but i want to move models in three dimensions.
What should I do?
I added my patch files in photo.

Andro's icon

patch this into your jit.gl.model.
float float float
into pak 0. 0. 0.
message box with the arguments $1 $2 $3
then prepend position

You can use this same method with rotate, color, etc..

Andro's icon

My bad. Don't use the message box, just plug it straight into prepend.

pipi5800's icon

Thanks It's working.