vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

Collision compound shape on new hub do not always work #752

Open JulianGro opened 4 years ago

JulianGro commented 4 years ago

The collisions in the new hub are bugged. They use compound shapes for the collisions. I looked at the compound shape that I know doesn't work properly for me in blender and it looks perfectly fine. https://cdn-1.vircadia.com/us-e-1/Bazaar/Worlds/HQ-HiFi/content/Small-Island-v4l/original/Small-Island-v4l-COLL-out.obj I haven't heared of anyone else having a problem with the collisions, but for me it is 100% reproducable. I can reload content or even completely delete the cache by hand without change. For me I am in the floor most of the time. Most notably I can walk into a lot of stuff (like the help desk) while other people collide with it and can stand on top of it. Of course other avatars like woody also behave the same. vircadia-snap-by-MotoFufu9k-on-2020-09-23_19-45-57

AleziaKurdis commented 4 years ago

I confirm, it happened on my domain. it seems that it fails to load correctly sometime, unpredictably.

JulianGro commented 4 years ago

In this case, it is not that it fails to load. The collision is there, it is just.. wrong. Also it happens 100% reliably on this system. I did not have the same problem in VR mode on Windows.

AleziaKurdis commented 4 years ago

The entity I was talking about is very large (1 km). Very possible that it was just wrong. I wouldn't t have noticed on such a size.

JulianGro commented 4 years ago

Just found out that you can actually show the collisions in the Interface vircadia-snap-by-motofckr9k-on-2020-10-08_01-57-19 If I open the compund shape as a model in Interface it also looks pretty wrong vircadia-snap-by-motofckr9k-on-2020-10-08_03-05-21

JulianGro commented 4 years ago

I think we actually found the problem now. The Oven in my Linux builds is broken. This is what comes out of the oven when I bake that obj file https://data.moto9000.moe/test/Small-Island-v4l-COLL-out.baked.fbx Theoretically you should get the same problem on any Linux machine if you use the AppImages.

daleglass commented 4 years ago

I looked into this earlier. Definitely looks like an oven issue, but doesn't happen for all Linux users. Uncertain what it's related to.

Could be some sort of library issue? Distro dependent?

JulianGro commented 4 years ago

I just tried LMDE4 which uses Debian 10 instead of Ubuntu 18.04 and it has the same issue. I cannot currently hook up my test machine because my new monitor doesn't have DVI, but I will test on that one as well once I got fitting adapters.

JulianGro commented 4 years ago

Just checked and this also happens on a different machine with Ubuntu 18.04

Goosie commented 3 years ago

I have the same issue, where I dive into sand while I'm walking. My client is on Ubuntu 20.04. My server on Ubuntu 18.04.

JulianGro commented 3 years ago

It seems like oven somehow gets rid of anything behind the decimal point for the verticies. I am assuming that it might be a locale thing since obj files are just text and decimals separators are different across the world.

I cannot test this theory though, as oven has decided to quit on me https://github.com/vircadia/vircadia/issues/969

daleglass commented 3 years ago

That sounds like it could be a locale handling issue. Some locales have a , rather than the . as the decimal separator.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JulianGro commented 3 years ago

:rage:

stale[bot] commented 2 years ago

Hello! Is this still an issue?

JulianGro commented 2 years ago

Yes

stale[bot] commented 2 years ago

Hello! Is this still an issue?