Author |
Message |
Metalfrenchtoast
Joined: Sun Mar 21, 2010 6:26 am Posts: 6
|
Objects sinking into ground and concrete
Basically anything not picked up eventually sinks to the bottom of the map, leaving a big hole in the ground. Any way I can fix this without reinstalling? It's happening on concrete, too.
|
Sun Mar 21, 2010 7:47 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Objects sinking into ground and concrete
Did you change the deltatime or anything?
|
Sun Mar 21, 2010 7:53 pm |
|
|
Metalfrenchtoast
Joined: Sun Mar 21, 2010 6:26 am Posts: 6
|
Re: Objects sinking into ground and concrete
Yes, I changed the deltatime to .05. Is this the cause?
|
Sun Mar 21, 2010 7:55 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Objects sinking into ground and concrete
Yes.
Deltatime is a game setting that wasn't explicitly designed to be changed, so changing it destabilizes the entire physics engine, especially in regards to terrain displacement.
|
Sun Mar 21, 2010 7:57 pm |
|
|
Metalfrenchtoast
Joined: Sun Mar 21, 2010 6:26 am Posts: 6
|
Re: Objects sinking into ground and concrete
Yar. I just want it to run more smoothly, is all. Is there a magical happy medium number I can use that won't screw the physics up too bad, while still boosting performance?
|
Sun Mar 21, 2010 8:00 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Objects sinking into ground and concrete
Not really. You can try tweaking it slowly down from 0.5 to a number where you can live with the terrain displacement and still get decent performance.
|
Sun Mar 21, 2010 8:06 pm |
|
|
Metalfrenchtoast
Joined: Sun Mar 21, 2010 6:26 am Posts: 6
|
Re: Objects sinking into ground and concrete
Yeah, basically just sticking REALLY close to the original .0167 seems to be as far as it can go without making things sketchy. .017 or .0175 help a little, but the closer you get to .02, the softer things get. Thanks for the help, guys. By the way, might there be a way I can alter terrain density?
|
Sun Mar 21, 2010 9:56 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Objects sinking into ground and concrete
Yeah, in Base.rte/Materials.ini is a big definition of all materials in the game. If you want you can set up some sort of script (I use gawk) to multiply all material strengths or densities.
|
Sun Mar 21, 2010 9:59 pm |
|
|
Metalfrenchtoast
Joined: Sun Mar 21, 2010 6:26 am Posts: 6
|
Re: Objects sinking into ground and concrete
Kickass. Thanks.
(edit) Will I need to multiply the material strengths proportionally with the deltatime setting?
|
Sun Mar 21, 2010 10:04 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: Objects sinking into ground and concrete
it's possible, but it's likely to be more complicated than that as collisions work in a rather confusing way, and your problem is more likely due to the weapons having their deepcheck variable set to true (WHICH IS STUPID CONTENT DEVS, FIX IT) which means they will forcibly displace terrain no matter what the density if they get pushed too far into the terrain (usually a matter of a few pixels), which is what's happening at higher deltatimes because the gravitational acceleration at such a huge deltatime causes them to fall further than this threshold set by the deepgroup in one frame. 0.02 works fine for me, but 0.05 is far too high, that's 20 sim frames per second in comparison with the default 60.
|
Tue Mar 23, 2010 11:32 am |
|
|
|