andyrst / ue4_metaballs

Metaballs fx for Unreal Engine 4
74 stars 28 forks source link

Transform Controls Broken? #5

Open ManaforceStudios opened 2 years ago

ManaforceStudios commented 2 years ago

Hello! Was utilizing this in a project, and noticed that the geometry is locked to scaling with the container. I thought I'd be able to use the Set Ball Transform node to change the Scaling, as well as Location, but it seems that Transform is only affecting Location.

Do you know of a good fix for this? Am happy to pay to fix it up!

andyrst commented 2 years ago

Can't be fixed. Metaballs are calculated and rendered inside fixed boundaries (grid).

On Wed, Nov 3, 2021 at 11:30 PM ManaforceStudios @.***> wrote:

Hello! Was utilizing this in a project, and noticed that the geometry is locked to scaling with the container. I thought I'd be able to use the Set Ball Transform node to change the Scaling, as well as Location, but it seems that Transform is only affecting Location.

Do you know of a good fix for this? Am happy to pay to fix it up!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andyrst/ue4_metaballs/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF2EID7QDLCJS5G6EUH62DUKGSXXANCNFSM5HJ33BEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Andrey Harchenko Game developer

ManaforceStudios commented 2 years ago

Oh there is no way to be able to scale the boundary box so you have more room to play with?

andyrst commented 2 years ago

You can try to scale the Actor or change grid size.

On Thu, Nov 4, 2021 at 2:54 PM ManaforceStudios @.***> wrote:

Oh there is no way to be able to scale the boundary box so you have more room to play with?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andyrst/ue4_metaballs/issues/5#issuecomment-960731697, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF2EIGHQBFLE2F5A5AK363UKJ67NANCNFSM5HJ33BEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Andrey Harchenko Game developer

ManaforceStudios commented 2 years ago

I've tried scaling the actor, but the geometry scales with it. I'm unsure of where to scale the gridsize though, so that's something I haven't tried yet.

andyrst commented 2 years ago

Try to change MetaBallsBoundBox->InitBoxExtent(FVector(100, 100, 100)) to bigger values, like MetaBallsBoundBox->InitBoxExtent(FVector(300, 300, 300))

On Thu, Nov 4, 2021 at 3:11 PM ManaforceStudios @.***> wrote:

I've tried scaling the actor, but the geometry scales with it. I'm unsure of where to scale the gridsize though, so that's something I haven't tried yet.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andyrst/ue4_metaballs/issues/5#issuecomment-960768974, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF2EIFBYRWYFBDZRHBOITDUKKBAXANCNFSM5HJ33BEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Andrey Harchenko Game developer

ManaforceStudios commented 2 years ago

Okay, will do! Is there anyway to expose that parameter as an adjustable Scale?

andyrst commented 2 years ago

Too long a time has passed. I'm not remember, just dig deep into the code and explore it.

On Thu, Nov 4, 2021 at 3:31 PM ManaforceStudios @.***> wrote:

Okay, will do! Is there anyway to expose that parameter as an adjustable Scale?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andyrst/ue4_metaballs/issues/5#issuecomment-960811198, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACF2EIBUBKKEEJSV3Q2V2J3UKKDLTANCNFSM5HJ33BEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Andrey Harchenko Game developer