View unanswered posts | View active topics It is currently Sat Dec 28, 2024 1:50 pm



Reply to topic  [ 10 posts ] 
 Objects sinking into ground and concrete 
Author Message

Joined: Sun Mar 21, 2010 6:26 am
Posts: 6
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Objects sinking into ground and concrete
Did you change the deltatime or anything?


Sun Mar 21, 2010 7:53 pm
Profile

Joined: Sun Mar 21, 2010 6:26 am
Posts: 6
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile

Joined: Sun Mar 21, 2010 6:26 am
Posts: 6
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile

Joined: Sun Mar 21, 2010 6:26 am
Posts: 6
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile

Joined: Sun Mar 21, 2010 6:26 am
Posts: 6
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.020s | 13 Queries | GZIP : Off ]