2D Toolkit Forum

2D Toolkit => Support => Topic started by: Hapistorique on December 17, 2012, 08:25:50 am

Title: Manage gravity when using tk2dcamera
Post by: Hapistorique on December 17, 2012, 08:25:50 am
Hey,

I'd like to know how can you make a good and "realistic" gravity when using the tk2dcamera

The standard gravity is set to -9.81 in Y, but if you want to make a character jumping and falling, it looks like you'r on the moon because the objects are so large

Should I code everything by myself instead of using rigidbody ?
Title: Re: Manage gravity when using tk2dcamera
Post by: unikronsoftware on December 17, 2012, 12:02:00 pm
No, just change gravity in Edit > Physics settings. I usually find -9.81 too "floaty" with default drag values anyway, so just increase it until it looks good.
Title: Re: Manage gravity when using tk2dcamera
Post by: Hapistorique on December 17, 2012, 02:04:45 pm
OK I'll try it out, I put -300 gravity   :P