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

ModuleDeployablePart doesn't destroy skinned mesh objects on break #239

Open
Rodg88 opened this issue Jul 12, 2024 · 1 comment
Open

ModuleDeployablePart doesn't destroy skinned mesh objects on break #239

Rodg88 opened this issue Jul 12, 2024 · 1 comment
Labels
kspModding Modding fix or API extension

Comments

@Rodg88
Copy link

Rodg88 commented Jul 12, 2024

Defining skinned mesh objects in destroyOnBreakObjects in ModuleDeployableSolarPanel / ModuleDeployableRadiator etc doesn't actually remove the specified objects on break. Restock even has a custom module to work around this - "ModuleRestockDeployableMeshHider", but having the base module actually work might be a better solution.

@gotmachine
Copy link
Contributor

I don't see anything that would prevent the stock logic from working with SkinnedMeshRenderers specifically.
Are you sure it's the reason why the restock module was implemented ?

@gotmachine gotmachine added the kspModding Modding fix or API extension label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kspModding Modding fix or API extension
Development

No branches or pull requests

2 participants