Why did you deleted SIO2Orbit?

View previous topic View next topic Go down

Why did you deleted SIO2Orbit?

Post  iphoniac on Mon Feb 23, 2009 8:48 am

and how is now implemented SIO2camera->tar?

Cheers.

iphoniac

Posts : 62
Join date : 2008-12-11

View user profile http://thecaveaniphonegame.blogspot.com/

Back to top Go down

Re: Why did you deleted SIO2Orbit?

Post  iphoniac on Mon Feb 23, 2009 11:31 am

Ok, I answer myself, from tutorial 9:

Code:
// Calculate our desire camera position that orbit
            // around an arbitrary point in space (in occurrent our "player").
            sio2Rotate3D( object->_SIO2transform->loc, 10.0f, ROTZ, 15.0f, &tmp_pos );

// Update the camera direction.
            sio2Vec3Diff( &tmp_pos,
                       sio2->_SIO2camera->_SIO2transform->loc,
                       sio2->_SIO2camera->_SIO2transform->dir );
            
            // Make sure that our camera direction is properly normalized.
            sio2Normalize( sio2->_SIO2camera->_SIO2transform->dir,
                       sio2->_SIO2camera->_SIO2transform->dir );

iphoniac

Posts : 62
Join date : 2008-12-11

View user profile http://thecaveaniphonegame.blogspot.com/

Back to top Go down

Re: Why did you deleted SIO2Orbit?

Post  meteors on Tue Feb 24, 2009 8:48 pm

Hey dude,

Did you get this work?

Would you mind pasting your code?



best,
-joshua
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: Why did you deleted SIO2Orbit?

Post  iphoniac on Wed Feb 25, 2009 2:47 am

Not yet. I still canīt see anything: http://forum.sio2interactive.com/sio2-engine-f3/problem-after-update-to-133-t391.htm

iphoniac

Posts : 62
Join date : 2008-12-11

View user profile http://thecaveaniphonegame.blogspot.com/

Back to top Go down

Re: Why did you deleted SIO2Orbit?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum