Jump to content

Physics questions


Ywa
 Share

Recommended Posts

Hi guys,

 

Few short questions related to physics:

- What is the default gravity (the one used in the Editor)? Is it 0 , -9.80665*2 , 0 ?

- Do I need to use UpdateAppTime when using the framework?

- What is a good weight for a vehicle? I see 1.0 used a lot (viperscout/monstertruck). while an oildrum has a mass of 6.0.

 

I already tried to play around with values myself. But somehow I can't get it to work.

 

Thanks.

 

- Ywa

Link to comment
Share on other sites

Isn't it all relative anyway, so setting the barrell mass to 1 or 100 is fine as long as the player mass and forces are scaled by the same amount.

 

I'd decide on a standard for masses and stick to that.

AMD Phenom 9850 (X4 2.5GHz) | 1066MHz CL5 GEIL Black Dragon (800MHz) | Powercolor ATI 4870 1GB | DFI 790FXB-M2RSH | 24" 1920x1200 | Windows Vista 64-bit Ultimate

Link to comment
Share on other sites

If you use much bigger masses than 1, then you need also huge forces to move them the same way, and when you have to use a force like 50000, then the 32-bit float barrier starts to kick in also and you get errors.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...