instantreality forum
news: Welcome to the instantreality forums!
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2018, 03:38:04 am

Login with username, password and session length

Pages: [1]
Author Topic: Rotate prototype around another prototype  (Read 1037 times)
Posts: 1

View Profile
« on: April 19, 2015, 03:48:36 pm »

first of all, this is the first day im using X3D and InstantReality.
I have a project with a Prototype "planet".

Now i have 3 planets: sun, earth and moon.
I want my earth to rotate around the sun. Since the sun isnt moving it wasnt too hard. I watched a youtube-video and it was working alright with a time-sensor, a PositionInterpolator and 2 "ROUTE" s.

Now i want my moon to rotate around the earth while the earth is rotating around the sun. But i cant really get it to work.

Can someone tell me how to tell a object to rotate in relation to another object?

Best regards and sorry for my bad english.

Pages: [1]
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines