3D objects positioning

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
User avatar
JoshDB
Posts: 87
Joined: Wed Oct 05, 2005 3:54 am

3D objects positioning

Post by JoshDB »

Hi, I've just added a 3D cube to my program...

How do I change it's postitioning from the center of the screen?
KawaGeo
Posts: 191
Joined: Sat Aug 27, 2005 6:52 am
Location: Calif Mountains

Post by KawaGeo »

Try Gum.translate(dx, dy, 0) where dx and dy are distances moved from the current position in the 3D space. Both motions are parallel to the screen, I think.
Geo Massar
Retired Engineer
User avatar
JoshDB
Posts: 87
Joined: Wed Oct 05, 2005 3:54 am

Post by JoshDB »

Hehe thanks. I went onto the IRC channel and got that info ( :
Post Reply