Jump to content

Recommended Posts

Posted

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

Posted

Thanks. But how come a vehicle is 1.0 and an oildrum is 6.0? Doesn't make a lot sense to be honest (and yes, I understand values don't always need to be realistic).

Posted

I use 1 for oildrum also. 6 is too heavy as the player can't kick and shoot it to move it.

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 ■

Posted

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

Posted

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 ■

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.

×
×
  • Create New...