-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unexpected optimization with regard to "Pickup PB Gimmick" #61
Comments
This is a pretty straight forward bug on my side. The dependency check only added game objects on moving transforms of the PB and since the glasses obj is in the ignore list it doesn't see it. This is ofc just wrong logic on my implementation, it should add all child components as dependencies.
Yup I forgot to add the PB ignore transforms to the list of used game objects. In that screenshot I also see it deleting Bone02 which I can't actually explain, unlike the GlassesObj which shouldn't get deleted since its referenced. Bone02 should still be in the list of game objects moved by the phys bone so dunno why it disappears. Thanks for the detailed bug report! |
should be fixed with 3.2.2 |
Don't know whether it is possible to be detected automatically, but it seems that a PB setup like this (Screenshot 1) will break unexpectedly, when you enable "Delete Unused Components" or "Delete Unused GameObjects"
Delete Unused Components (Screenshot 2): Will delete the PB which is useful for pickup.
Delete Unused GameObjects (Screenshot 3): Will delete intermediate object which is referred by the PB. In this case, it is "GlassesObj"
This setup is usually useful for "Pickup" related gimmicks, with which one could pickup a MeshRender to some extent. It needs to put a MeshRender under a bone. eg. Bone1/Bone2/MeshRender.
The text was updated successfully, but these errors were encountered: