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

More GeometryPartModule fixes #39

Merged
merged 4 commits into from
Apr 4, 2019
Merged

More GeometryPartModule fixes #39

merged 4 commits into from
Apr 4, 2019

Conversation

dkavolis
Copy link
Owner

@dkavolis dkavolis commented Apr 4, 2019

Adds rebuildOnAnimation (bool) config node which rebuilds mesh data for voxelization if an animation was played instead of updating the transforms. However, the computational cost is increased. See InflatableHeatShield as an example:

@PART[InflatableHeatShield]:AFTER[FerramAerospaceResearch]
{
	@MODULE[GeometryPartModule]
	{
		%forceUseMeshes = True
		%ignoreIfNoRenderer = true
		%rebuildOnAnimation = true
	}
}

Previously had to force use colliders which resulted in slightly odd voxelization.

Also properly handle ModuleJettison if part contains ModulePartVariants - jettisonName is a comma separated list of jettison transform names for use with part variants.

Fixes #38

@dkavolis dkavolis merged commit 80e0f65 into master Apr 4, 2019
@dkavolis dkavolis deleted the more_geom_fixes branch April 4, 2019 13:52
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

Successfully merging this pull request may close these issues.

1 participant