falling though world on device
4 posters
falling though world on device
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
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
Re: falling though world on device
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
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
Re: falling though world on device
Check tutorial06_2 and see if you can use multi-thread with the physic?
Re: falling though world on device
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
rendering: 14 fps
physics: 10 fps
spoboyle- Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk
Re: falling though world on device
it wasn't on
spoboyle- Posts : 12
Join date : 2009-04-08
Age : 43
Location : manchester, uk
Re: falling though world on device
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...
Re: falling though world on device
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
Re: falling though world on device
http://developer.apple.com/DOCUMENTATION/DeveloperTools/Conceptual/SharkUserGuide/Introduction/Introduction.htmlsNovak wrote:I don't mean to be a newb. But, afterall I am a newb.. So, what's Shark?
http://discussions.apple.com/thread.jspa?threadID=1655414&tstart=0
Francescu- Posts : 136
Join date : 2009-03-18
Similar topics
» Problems installing 1.3 apps on device
» Black Screen AFTER Loading on Device
» Can't run sio2 powered apps on device
» can't debug and run tutorial06 on device BAD_ERR_ACCESS
» Objects Falling Through
» Black Screen AFTER Loading on Device
» Can't run sio2 powered apps on device
» can't debug and run tutorial06 on device BAD_ERR_ACCESS
» Objects Falling Through
Permissions in this forum:
You cannot reply to topics in this forum