Skip to content

Fix for cook results transform offset#366

Open
sorafrostfire wants to merge 1 commit into
sideeffects:Houdini21.0-Unreal5.00from
sorafrostfire:Fix-Transform-Offset
Open

Fix for cook results transform offset#366
sorafrostfire wants to merge 1 commit into
sideeffects:Houdini21.0-Unreal5.00from
sorafrostfire:Fix-Transform-Offset

Conversation

@sorafrostfire

Copy link
Copy Markdown

The root problem is that when creating an HDA actor in Unreal and then transforming it and THEN cooking, the cook results will be offset by an amount equal to the transform done after the actor was created

It appears that the HoudiniAssetComponent does not get notified when the transform changes due to the bWantsOnUpdateTransform flag being false.

Furthermore, even if this flag is true, we don't submit the updated transform to Houdini unless we've done one or more cooks.

Setting the flag to default to true and removing the cook count check fixes the original issue

The root problem is that when creating an HDA actor in Unreal and then transforming it and THEN cooking, the cook results will be offset by an amount equal to the transform done after the actor was created

It appears that the HoudiniAssetComponent does not get notified when the transform changes due to the bWantsOnUpdateTransform flag being false.

Furthermore, even if this flag is true, we don't submit the updated transform to Houdini unless we've done one or more cooks.

Setting the flag to default to true and removing the cook count check fixes the original issue
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