Hello,
I'm trying to port a game from pc to mobilephones. It's seems ok except the gravity force (set as (0,-9.8,0) appears to be very weak, resulting in the hair as it's in the water.(but it's good in pc)
Increasing the gravity value to compensate by a factor of 100 seems to get 'better' (i.e more realistic) results but I sense this isn't really the correct way to go. Is there something I'm missing to all of this..?
i'm compiled the bullet with -O2 and added the -fno-regmove CFLAG. Using the method mWorld->stepSimulation(sec, 30); the sec is around 0.06.
Any help would be greatly appreciated. Thanks!
less gravity on ios/android
-
- Posts: 2
- Joined: Tue May 22, 2012 11:44 am
Re: less gravity on ios/android
I changed the step method to
mWorld->stepSimulation(1/15, 0);
and it's ok now
mWorld->stepSimulation(1/15, 0);
and it's ok now