Jump to content

Problem with physics


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

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

Recommended Posts

I've created a simple building in Blender 2.83. I'm just trying to understand how physics work when uploading the mesh to SL. So far, my efforts have been mostly a failure. 

In Blender, I have the building as one object and the physics as a separate object. The physics object is just above the floor of the main mesh. I've exported the building and physics separately. Before exporting, I've applied all transformations and set origin to geometry for each object. 

In SL's mesh upload UI, I select the Collada file for the building and, on the Physics tab, selected my physics file. I have tried using both the Analyze tool and not using it. 

When I upload the model to SL and rez it in Firefox, I edit the Features tab by selecting Prim instead of Convex Hull. But, as you can see in the screenshots, the physics is way off; my avatar is way above the floor. In Blender, the physics object is not as high up as it shows in SL. 

Below are screenshots of the model (the main mesh and the physics mesh) and how it looks in SL after uploading:

Building.thumb.PNG.edced3cae0f102e1b40a0aacc3ba675b.PNG

Physics.thumb.PNG.4ccda95d5ceb997d9a07887728566416.PNG

IN_SL.thumb.PNG.535e31bccfa513d505a5d496a388325d.PNG

I know this is very simple. But, what could I be doing wrong that's making the physics so much higher than the floor?

  • Haha 1
Link to post
Share on other sites
4 hours ago, Gordon Nadezda said:

I know this is very simple. But, what could I be doing wrong that's making the physics so much higher than the floor?

Did you make sure the visual and physics models are exactly the same size? The uploader will scale the physics (and all LoD models) to the same size as the main visual model so if tehya ren't to start with, you can get unexpected results like this.

Edited by ChinRey
  • Like 1
Link to post
Share on other sites

As ChinRey suggests, it looks like your physics model is a simple 2D plane, while the building has height. Try adding a vertical plane, perhaps corresponding to one of the walls of the main model, to the physics model.

  • Like 1
Link to post
Share on other sites
1 hour ago, ChinRey said:

Did y9u make sure the visual and physics models are exactly the same size? The uploader will scale the physics (and all LoD models) to the same size as the main visual model so if tehya ren't to start with, you can get unexpected results like this.

You were right. The plane in the physic model had to be exactly the same size. I also added a few vertical planes for the walls. They also had to be the same size. Thanks for everyone's advice.

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 215 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...