Harry
Member
|
[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 |
|
Esenthel
Administrator
|
RE: Rotating item
Matrix().setRotateY(Tm.time()).move(..)
|
|
12-12-2009 02:08 AM |
|