Sign in to follow this  

choosing mass and size of game objects in physics engine

This topic is 1114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

I am looking into using bullet for simple physics simulation in my puzzle game. However the world is a cartoon world where I have given no thought at all to the real world mass and size of objects in the game.

My question is simple - is it best to guesstimate and play with the mass values to achieve a cartoony physics effect, or should I instead consider real world measurements and make things realistic and therefore make the physics behave realistically?

I understand that this is somewhat a gameplay question as it infuelnces how the game plays, however I am concerned that if I make it behave in an unexpected way the player might just get confused and annoyed and stop playing.

Can anyone please impart some wisdom on a relative newbie to physics simulation...

Thanks!

Share this post


Link to post
Share on other sites

My question is simple - is it best to guesstimate and play with the mass values to achieve a cartoony physics effect, or should I instead consider real world measurements and make things realistic and therefore make the physics behave realistically?


It's your game. Do what you want.

I understand that this is somewhat a gameplay question as it infuelnces how the game plays, however I am concerned that if I make it behave in an unexpected way the player might just get confused and annoyed and stop playing.


If you present a consistent world, realism won't matter to anybody.

Share this post


Link to post
Share on other sites

if I make it behave in an unexpected way the player might just get confused ..

 

First - part of almost every game is simulation - and part of the attraction to gamers is becoming good at manipulating game controls well, learning and compensating for the limitations of the objects. Provided the learning curve isn't too steep and the rules are consistent and somewhat reasonable, and goals can be achieved, gamers will play.

 

Second - use alpha testers if you don't think you can make the determination yourself whether it's "fun."

 

Third - Don't worry too much about realistic. Mario, who can jump 3 times his own height, is reasonably popular. wink.png

 

EDIT: Ninja'd ph34r.png

 

If you present a consistent world, realism won't matter to anybody.
Edited by Buckeye

Share this post


Link to post
Share on other sites

Thanks for the advice! I think based on this i will try and emulate road-runner style cartoon physics, a little crazy and fun. Like you say, so long as it is consistent people will play.

 

I am guessing bullet will support such crazy physics simply by messing with constants? Time for some RTFM i guess...

Share this post


Link to post
Share on other sites

Some sets of physics constants give equivalent behaviour - for instance small objects slowed down (or in lower gravity) act like bigger objects at normal speed (or in normal gravity).

 

So I'd suggest fixing one of your physics constants and then varying the others to get the behaviour you want. I think most people go with earth gravity (~10 m/s^2) and then change the size/mass to fit what they want.

 

If you do stick to real units (kg, m, s) then you'll be able to make ballpark guesses for what things should be.

 

Share this post


Link to post
Share on other sites

This topic is 1114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this