forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

3D objects positioning

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Sat Dec 10, 2005 9:53 am    Post subject: 3D objects positioning Reply with quote

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

How do I change it's postitioning from the center of the screen?
Back to top
View user's profile Send private message Send e-mail AIM Address
KawaGeo



Joined: 27 Aug 2005
Posts: 191
Location: Calif Mountains

PostPosted: Sat Dec 10, 2005 2:27 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Sun Dec 11, 2005 1:30 am    Post subject: Reply with quote

Hehe thanks. I went onto the IRC channel and got that info ( :
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group