Friday, December 1, 2023
HomeVisual EffectsUnreal 4.27 - Niagara - Adjusting place, rotation and scale relying on...

Unreal 4.27 – Niagara – Adjusting place, rotation and scale relying on world orientation of father or mother


Hey guys, been lurking round for some time and determined I might lastly put up one thing as I believe I might in all probability determine it out however I wished to get a bit outdoors perspective.

I’m constructing a torch. Principally every thing is already made, however there’s a explicit aspect of its habits I wish to work out.

Mainly, hearth goes up. When a torch adjustments its orientation, hearth will all the time maintain going up. Nevertheless, the fireplace will change its form fairly a bit since its gas supply has modified its orientation. I’ve offered a easy picture describing my setup as that is work associated and I can not present something in engine trigger I don’t need any NDA shenanigans. Anyone who’s prepared to share a thought or two on this might be appreciated.
That is in Unreal 4.27, and ideally this may all happen throughout the supplies and the Niagara system. Blueprinting is allowed however discouraged for this drawback.




1 Like

My first intuition can be getting the dot product between the particle system’s Native Up and the World Up, that ought to offer you a worth of 1 when the torch is upright and a worth of 0 when it’s utterly flat. You should utilize that worth to lerp between two totally different scales, positions, and so forth… each within the mesh and within the niagara module you’re utilizing to set the particle’s preliminary place.

Edit: Additionally you may wish to clamp it to 0-1 or get absolutely the worth since each time the torch factors downwards the dot product goes to get into the negatives



1 Like

Thanks Filo, this did assist quite a bit. Turned out sure elements have been much less complicated then I initially thought, however this did find yourself being very helpful regardless!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments