FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

falling though world on device

4 posters

Go down

falling though world on device Empty falling though world on device

Post  spoboyle Tue Apr 14, 2009 9:48 am

i have created a world and imported it into the tutorial 09 code base.

everything worked great on the simulator, but when i installed the app onto a device all my rigid/dynamic bodies fall though the world.

does any one have any ideas what could potentially cause this behaviour?

-spob

ok i did do a search for similar posts and nothing came up. the searched for my own post and found loads :S

going to work through some of the other suggestions i found

spoboyle

Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  spoboyle Tue Apr 14, 2009 10:18 am

ok

replacing
sio2PhysicRender( sio2->_SIO2physic, sio2->_SIO2window->d_time, 2 );

with
sio2PhysicRender( sio2->_SIO2physic, 1.0f / 30.0f, 2 );

worked but the app does not run at anywhere near the frame rate i was hoping

spoboyle

Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  sio2interactive Tue Apr 14, 2009 4:56 pm

Check tutorial06_2 and see if you can use multi-thread with the physic?
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  spoboyle Thu Apr 16, 2009 9:35 am

ok i have finally managed to get a seperate physics thread sorted and things have improved but for a relatively simplistic world far from ideal

rendering: 14 fps
physics: 10 fps

spoboyle

Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  sio2interactive Thu Apr 16, 2009 4:48 pm

Do not compile with thumb ON
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  spoboyle Fri Apr 17, 2009 2:54 am

it wasn't on

spoboyle

Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  sio2interactive Fri Apr 17, 2009 3:07 am

Dude profile cuz me I get more than 20k of textured polygon per FOV where all objects are physic objects and I get 30+ fps on my iPod Touch 2nd gen...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  spoboyle Fri Apr 17, 2009 3:40 am

yeah its obvious there is something wrong with my app, cause i have seen more complex worlds drawn at faster frame rates using this engine. hmm now to find out what's wrong ... i'll post here again if i work anything out

spoboyle

Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  sio2interactive Fri Apr 17, 2009 3:51 am

just use shark dude, you'll see it right away...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

falling though world on device Empty shark

Post  sNovak Thu Jun 04, 2009 12:48 pm

I don't mean to be a newb. But, afterall I am a newb.. So, what's Shark?
sNovak
sNovak

Posts : 5
Join date : 2009-05-25
Age : 45
Location : Davie, FL

http://www.snovak.com

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  Francescu Thu Jun 04, 2009 1:11 pm


Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

falling though world on device Empty Re: falling though world on device

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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