aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
904 stars 210 forks source link

Linking iOS objective C Project with Minko C++ #244

Closed unco182 closed 8 years ago

unco182 commented 8 years ago

Hi,

I would like to know the best way to develop an iOS app with minko SDK.

Should I start from the XCode project generated by minko script ? If yes how can I add a ViewController to be able to move in my 3D scene ?

OR

Should I start with a fresh XCode Objective C project and link it to Minko SDK ? In that case, how do you link the project to the SDK to have all the include integrated in the project?

I tried the second option for now but when building I got an error because the project is not able ton find minko/Minko.hpp file

Thanks in advance!

Noxalus commented 8 years ago

You should choose the first solution instead. However, the ViewController is created by SDL (here), you don't need to create another one to move in your 3D scene.

unco182 commented 8 years ago

Ok thanks,

But should I enable something in minko SDK to be able to move in my scene? cuz for now I'm displaying the scene but I'm not able to move in it

Noxalus commented 8 years ago

No, there is nothing to enable, It's up to you to write the code to move the camera like you want. Look at the serializer example, there is some code to move the camera around the world origin with the mouse.

unco182 commented 8 years ago

Thanks so much again !