I used a real life leaf image to make a grayscale map and turned it into an alpha texture for maximum realism… funny thing is, no one’s probably gonna notice...but it makes me happy 😅
Spent almost an entire day fighting this bug.
After trying a bunch of different fixes with no luck, I deleted a single node... and it instantly worked perfectly. 😭
Game development in a nutshell.
A bit late with this week's dev update!
The goal was to make one mopping system work on floors, walls, and any angled surface. It already worked on floors, but the mop's orientation broke on different surface angles.
After a lot of debugging and some math, it's finally working!
@wayveyxyz Yeah this would work great if i had only mop, but as i am using this same system for my other tools that has similar function, (I like to shoot two birds with one arrow😆 )
I like your idea of the joint, thinking of implementing something like it.
Thanks!
@Dontgiveup_26 Great idea!
I think I should post this as a simple challenge because I am also curious how other devs would solve it, then I will post my own solution.
A bit late with this week's dev update!
The goal was to make one mopping system work on floors, walls, and any angled surface. It already worked on floors, but the mop's orientation broke on different surface angles.
After a lot of debugging and some math, it's finally working!
@iMeteox Thanks for the advice! That's how I solved it.
The difficult part was that one calculation affected the next, which then changed another, creating a chain reaction. Once everything starts feeding into each other, it gets really hard to track down where the bug actually starts.
@arqan_creation LOL! 😂
It works... as long as all the vectors are orthogonal (90° to each other).
The docs say normalization isn't necessary, but after everything I went through, I normalized them anyway. 😂
@arqan_creation I think it's mainly for high res or tiny displays. For everyone else, it's one of those features you use once in a blue moon. I probably use it 0.0001% of the time. 😄
Unreal Engine tip: Hold Ctrl while zooming to get several additional zoom levels.
Somehow I forgot this existed and just rediscovered it. 😄
#UnrealEngine#UE5#GameDev
Before → After.
This is one of those changes that doesn't look huge, but it'll save a lot of work later.
The goal is to reuse this system for other cleaning tools as well, so they can all work on floors, walls, and other surfaces without needing separate implementations.