Jump to content

Physics for mesh builders


You are about to reply to a thread that has been inactive for 2991 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts


Jenni Darkwatch wrote:

I'd read it as "simplify physics shapes as much as possible" which makes sense... whether it's mesh or not is probably irrelevant.

Thanks Jenni, wondered what that article meant. As a believer in keeping things as simple as possible, I use regular prims or sometimes planes for physics as needed, and mostly just for houses.

Link to post
Share on other sites


Jenni Darkwatch wrote:

I'd read it as "simplify physics shapes as much as possible" which makes sense... whether it's mesh or not is probably irrelevant.

Well the document lists triangles/mesh as the most expensive physics type. I don't know though how inworld prims are composed, whether they are triangle based meshes too.

Link to post
Share on other sites

Ciaran Laval wrote:

Well the document lists triangles/mesh as the most expensive physics type. I don't know though how inworld prims are composed, whether they are triangle based meshes too.

It really depends on the prim. A box (no matter the proportions) is seen as a convex hull. That is until you use any modifiers. The same is the case for cylinders, except a different x and y value will turn it to triangle based as well. Spheres without modifiers and a 1:1:1 proportion are convex hull.

All other prims are triangle based going by the metadata in the develop menu.

This means you should be careful with using them. It does not mean you should always use prim boxes as physical shapes. Both server and download weight will increase by adding prims. Even if this doesn't affect LI, it does affect performance. Better to use the same box shapes in a seperate file and let the uploader "analyze" that. For floors that might be an issue, since you can't rezz on convex hull mesh items, at least as far as I've experienced. Floors might be the only objects where a prim could be preferred. Can't think of any other ones, maybe others can.

What I read in the article is that one should use convex hulls or physical primitives(NOT SL primitives!) where one can. But the article also says "a" triangle is cheap. So if you need a lot of convex hulls to replace a few triangles, that's probably not a good idea. It also depends on the situation. On a racetrack a wall is best done as convex hull from what I understand, since you can't get trapped in those. "Speed+collision=get trapped" in most cases when the shapes are triangle based. Walking into a wall is less likely to give you issues.

 

 

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 2991 days.

Please take a moment to consider if this thread is worth bumping.

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
×
×
  • Create New...