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

Inertia Diagonal setting is not applied to the prefab #26

Open
lidiamartinez opened this issue Nov 19, 2018 · 2 comments
Open

Inertia Diagonal setting is not applied to the prefab #26

lidiamartinez opened this issue Nov 19, 2018 · 2 comments

Comments

@lidiamartinez
Copy link

lidiamartinez commented Nov 19, 2018

The materials and other values are, but Inertia Diagonal checkbox is not applied to the original prefab when clicking Apply on the top menu.

Maybe this is an intended behaviour, but I don't think it is.

@nmalg
Copy link
Member

nmalg commented Nov 19, 2018

Apply to original prefab, was a feature completely unknown to me. Unfortunately it works for me, checking/unchecking, changing values etc. for mass and inertia. Could it be a bug in Unity? Which version of Unity are you using?

@lidiamartinez
Copy link
Author

Prefabs in unity are used so that all instances of them share the properties of a common "template" in the project folder (except for the transform positions and anything that is not taken into account).
Apply button is used so that if you have an instance of a prefab in the scene, and you change anything (except for the transform), you can apply that change to the original prefab and subsequently all instances of it in any scene.

What is happening with AGX unity right now is that... that particular property is not applied to the original prefab and the rest of them in the scene. I'm using Unity 2017.4.14f1 right now, hopefully moving to the latest one soon.

This "Apply" button provides a little too powerful feature... and generates havoc in big projects when somebody applies something that shouldn't have been applied... from time to time...
That's why the upcoming Unity version will have a long-time-expected Prefab editor which will allow to edit them separately and lock changes on them, hopefully... and also hierarchies of prefabs made out of other prefabs, which is a confusing issue (color blue means a prefab instance, and if you put a prefab inside another one in the scene, it will stop being a prefab instance... not shown in the editor properly...)

Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants