Jump to content
Sign in to follow this  
wolf

Object physics

Recommended Posts

I get the feeling those crates are just vehicles... So they will die when tipped over, they won't provide cover against splash damage, servers will likely choke having to keep up with a much larger number of physics-able objects than normal, and client performance will suffer as well as each and every physics-able prop will have to be its own individual object, each eating up a draw call (or more if they have multiple materials).

Share this post


Link to post
Share on other sites

they are probably simple objects with non-static physics types rather than vehicles, but regardless the above points still stand.

Share this post


Link to post
Share on other sites

I get the feeling those crates are just vehicles... So they will die when tipped over, they won't provide cover against splash damage, servers will likely choke having to keep up with a much larger number of physics-able objects than normal, and client performance will suffer as well as each and every physics-able prop will have to be its own individual object, each eating up a draw call (or more if they have multiple materials).

 

No, they won't die when tipped over. They do have a collision mesh. Not sure how that affects server performance, but i never noticed an issue in a 40 player server with about 30+ boxes. (this was infantry beta)

Share this post


Link to post
Share on other sites

That was back in 3.4.4. Our current 5.x series of scripts have significantly changed core game code, which may make this highly undesirable for stability reasons.

Share this post


Link to post
Share on other sites

We could always do some stress tests just in case it could be viable. I bet nobody has tried it on 5.0 yet.

Share this post


Link to post
Share on other sites

What's the point in having random boxes though?

 

So that players can push them around the base and use them as dynamic cover. Mainly because they are fun to drive through though. :p

Share this post


Link to post
Share on other sites

What's the point in having random boxes though?

 

Because static meshes suck :p You can apply these physics to any object.

Share this post


Link to post
Share on other sites

You know... I wonder if this could be applied in such a way that we can run over trees, sandbags, barbed wire, and chain link fences.

 

Only if you make them soldiers - only soldiers can be run over :p

 

AR did have trees that screamed and died when you ran over them for a while as an experiment...

Share this post


Link to post
Share on other sites

 

You know... I wonder if this could be applied in such a way that we can run over trees, sandbags, barbed wire, and chain link fences.

Only if you make them soldiers - only soldiers can be run over :p

 

AR did have trees that screamed and died when you ran over them for a while as an experiment...

 

It wasn't AR, but one of BogdanV's projects.

 

Share this post


Link to post
Share on other sites

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  

×