Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physical shape type seems corrupted in objects containing several of them #117

Open
Yichard opened this issue Apr 9, 2021 · 5 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Yichard
Copy link

Yichard commented Apr 9, 2021

Physical shape type = none allows to add features such as a curtain at the door of an otherwise solid house. We can pass through the curtain, but not through the walls. At the opposite, a simple prim with a physical shape can make the physics of a vehicle as simple as possible, while all the complex details are physical shape type = none.

Since some weeks, I noted that physical shape types are interverted between prims in the same object. Just as it happened with the ancient bug of trying to makes inbdividual prims phatom (I say well phatom, not physic shape type). We can correct, and the prim looks good, but the other prims become wrong. Or they are wronged after a relog.

Maybe it is related, but it happened on two objects which were recovered from OARs (built in Amaryllis, recreated in Enchanted)

I wanted to bring a demo, but seems that heavily reworking these objects fixes the issue.

@Yichard
Copy link
Author

Yichard commented Apr 10, 2021

I found back a version of one of the objects showing the problem: hop://grid.enchantedgrid.com:8002/Lysaer/192/64/4902
It is a hollow build (underground station) which is supposed to be entirely in physical shape = prim (or convex hull, but I set all to prim).
Another version of the same build, just above, is supposed to have grasses with physical shape = none

@kf6kjg
Copy link
Contributor

kf6kjg commented Apr 21, 2021

I too tripped across an oddity WRT the usage of shape type. Not had time to dig into it, but there's definitely a bug in there.

@kf6kjg kf6kjg added bug Something isn't working help wanted Extra attention is needed labels Apr 21, 2021
@Yichard
Copy link
Author

Yichard commented May 20, 2021

Some more details:
Even if we set the physical shapes right, the problem tends to reappear when we relog.
-object comes from an OAR
-Object normally has mixed prim, convex or no physical shape
-In the edit windows, properties, the physical shape type is correct.
It looks as if the list (per prim) is loaded two times, and one of the source (or transfer) is wrong

@Yichard
Copy link
Author

Yichard commented Jun 15, 2021

I ended up remarking that the problem happens when there is a region restart. There has been so many lately (in Enchanted) that the problem seemed to appear at random. But I tried to restart my region Lysaer 4 times, and each time physical shape was lost. Even if the "physics shape type" was displaying the correct value.

In more the problem happens in a 59 prims object (most meshes) but not in a 30 prims object (also most meshes).

Step to reproduce
At this point, I think it is better to try in a test region that we can restart at will, using controlled objects, having known quantities of each physical shape types, and with clearly selectable (separated) prims. Seems we need at least 50 prims. Walking through a row f objects seems the fastest way to test the physical shape type.

Added: I am not sure, but we may need to test with an OARed object.

I removed my (primmy) test objects at hop://grid.enchantedgrid.com:8002/Lysaer/166/48/4924

@Yichard
Copy link
Author

Yichard commented Aug 22, 2022

Probably the states are not written in the object description (as saved in the asset server). This makes that when we set the values, they appear correct in the rezzed object, and they remain so as long as it is rezzed. But re-rezzing or region restart read the wrong values from the asset server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants