About Store Forum Documentation Contact



Post Reply 
[Solved] Rotating item
Author Message
Harry Offline
Member

Post: #1
[Solved] Rotating item
I want to rotate in one axis some items which I put in WE. I use this:

itm.matrix().setRotateY(Tm.time());

but it doesn't works. I tried this code:

itm.matrix(Matrix().setRotateY(Tm.time())); and now object is rotating but it change position.adding setPos doesn't help. How can I rotate object without position changing?
(This post was last modified: 02-14-2011 11:32 AM by Harry.)
12-11-2009 11:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Rotating item
Matrix().setRotateY(Tm.time()).move(..)
12-12-2009 02:08 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: Rotating item
Thanks smile
12-12-2009 12:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply