[EMAIL PROTECTED] wrote:
> 
> to the still awake
> 
> I am trying to use one small primitive cube to rotate
> another bigger one. The big one should only rotate
> if the small cube is moved.


Hi Mark,

Try this

member("3D").model("BigCube").addChild(member("3D").model("SmallCube"),
#preserveWorld) 

on exitFrame
   -- The big one rotates and the small one too, that's it orbits
   member("3D").model("BigCube").mRotate(0.15, -0.20, -0.15, #world)
   -- This if the small one must spin
   member("3D").model("BigCube").mRotate(0.30, -0.4, -0.30, #world)
end

But don't use the nagging rigmarole member("3D").model("BigCube")....
everytime you need to reference an object. Use a reference variable
instead.


HTH,

Franco

IFC Programming Consultant
http://www.chnexus.com/main.htm
mailto:[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to