Tilty Platform and other effects from example in my game
Posted: Sat Dec 07, 2013 8:54 am
I am trying implement the 'tilty platform' and 'water and crate; from the example platformer in my game.
My game has different camera settings. It is setup as ortho with 1 unit = 1 pixel. I also have gravity set at -4000
With the tilty platform settings identical to the settings in the example, the platform is rotated at about 15 degrees instead of 0.
The crate sinks to the bottom of the water and does not bounce
I have double checked and the code and properties are set the same as the are in the example.
Any idea of why it is behaving this way?
Another question is how do you determine where to set gravity? Is there a rule of thumb or calc based on say the size of the main character?
Thanks
-Pat
My game has different camera settings. It is setup as ortho with 1 unit = 1 pixel. I also have gravity set at -4000
With the tilty platform settings identical to the settings in the example, the platform is rotated at about 15 degrees instead of 0.
The crate sinks to the bottom of the water and does not bounce
I have double checked and the code and properties are set the same as the are in the example.
Any idea of why it is behaving this way?
Another question is how do you determine where to set gravity? Is there a rule of thumb or calc based on say the size of the main character?
Thanks
-Pat