1
Support / Object3D rotation around another object
« on: October 19, 2012, 02:42:42 am »
Hello.
So I am really new with jpct-ae (and only been programming for 1yr). I am currently working on my first app with it, so far loving it. But I've struggled with this task all night and I cant seem to get it work.
The game plays out in the solar system and atm I am making the planets orbit around the sun but I cant find a good way to do this. Tried some with sin and cos but nothing really worked.
So I am wondering if anyone else got some tips for me how I am suppose to do this.
Appreciate all the help and tips. Thanks.
So I am really new with jpct-ae (and only been programming for 1yr). I am currently working on my first app with it, so far loving it. But I've struggled with this task all night and I cant seem to get it work.
The game plays out in the solar system and atm I am making the planets orbit around the sun but I cant find a good way to do this. Tried some with sin and cos but nothing really worked.
So I am wondering if anyone else got some tips for me how I am suppose to do this.
Appreciate all the help and tips. Thanks.