Built a procedural footstep system that detects surface materials at runtime - worth sharing my approach

Been working on a footstep audio system for my thirdperson game and finally got it to a place I'm happy with. Instead of manually tagging every surface, I'm using Physics.Raycast downward each step to sample the texture of whatever the character is standing on, then crossreferencing that against a ScriptableObject lookup table to pick the right audio clip set.

The cool part is it handles blended terrain textures too. I sample the dominant texture weight at the hit point and blend between two clip sets if the weights are close enough, so walking from grass onto gravel actually transitions naturally rather than snapping.

Performancewise it's pretty light. The raycast only fires on footstep animation events, not every frame, so it stays cheap even with a crowd of NPCs using the same system.

A few things I'm still figuring out: whether to bake surface data into a custom component on mesh colliders for nonterrain objects, or just rely on Physics Materials. I'm also debating whether a texturetosurface mapping approach scales well once the asset list grows.

Has anyone tackled something similar? Curious how others handle dynamic surface detection without making the inspector a nightmare to maintain. Always looking for cleaner ways to set this up

reddit.com
u/pratty041182 — 8 hours ago

How do you structure GDDs so programmers actually use them?

I've been working on a narrative mystery game and made the mistake a lot of designers seem to make early on. I wrote a massive design document, something like 80 pages, covering lore, mechanics, UI flows, character arcs, all of it. Then I handed it to a friend helping with programming and watched it get completely ignored.

After reading a lot of discussions here and talking to other devs, I'm starting to think the problem isn't that programmers don't care about design. It's that the format of most GDDs just isn't built for how programmers actually work. They need clear inputs, outputs, and edge cases. Not four paragraphs of flavor text before a single mechanic gets described.

So I'm genuinely curious how people here handle this in practice. Do you break it into separate smaller docs per system? Do you use something like Notion or Confluence with linked pages? Do you skip the big document entirely and just work from task tickets in Trello or GitHub Issues?

I want the design intent to actually survive into the final game without forcing someone to read a novel before writing a single function. What has actually worked for your team, even if your team is just you and one or two other people? Any specific formats or tools that made a real difference would be helpful.

reddit.com
u/pratty041182 — 3 days ago
▲ 1 r/men

Guys in their 30s thinking about building in Brisbane, worth it or am i crazy?

I'm 34, been grinding in a decent job for the last 8 years and finally saved up a decent deposit but rents are killing me (paying 650 a week for a 2bed unit thats nothing special). Me and my partner are talking about starting a family soon and we want something more permanent, not another rental with random neighbours. Been looking at land and build packages because buying established is just insane right now, prices have gone stupid.

We've been checking out areas like logan or a bit further out where you can get a block for around 350-450k, then the build side... quotes i've seen are pushing 2000-3000+ per sqm for a decent 4bed house, so easily 700k-900k+ all up with extras like driveway, fencing and basic landscaping.

Feels like a massive jump but at least wed own it outright eventually instead of throwing money at a landlord. Been looking at a few land developers in Brisbane and some of them seem pretty solid with decent packages and communication. Anyone actually gone down this road with one of them? how was the process in reality, any major headaches with delays or surprise costs?

Also any tips on things to watch out for? soil tests, council approvals, holding costs etc? or should i just keep renting and wait for the market to cool? NLG this whole thing has me stressed but excited at the same time. Appreciate it!

*Writting from my wife's account.

reddit.com
u/pratty041182 — 3 days ago

wireless link between two buildings?

i have a small setup where the main office and a second building on the same property need to share data and internet but running cables is turning into a nightmare with costs and approvals. i need something stable that can handle normal office stuff without monthly bills going crazy.

someone mentioned wave1 as a company that does this kind of wireless connection properly with surveys and installation. has anyone dealt with something similar? how reliable are these wireless links in real conditions and what kind of speeds can you actually expect? any common issues i should know about before going further?

reddit.com
u/pratty041182 — 4 days ago

controversial opinion maybe but stop wasting money on franchise laser clinics lol

Idk who needs to hear this but those huge 10-session laser packages at those high street chain clinics are honestly such a scam. I see so many girls buying them because they look cheap upfront but it’s literally a waste of cash.

Most of those commercial places just run on volume. Their technicians change literally every month and half of them don't even know how to set the machines properly for stubborn hyperpigmentation or acne scars. They just put everything on the lowest safest settings so they don’t get sued, meaning you see zero results.

I learned this the hard way after a franchise place completely ruined my skin barrier. Never again. I ended up saving up and switching to a smaller medical boutique, all saints clinic, and the difference was crazy. They actually customized the settings for my face and timed everything around how my skin was recovering instead of just rushing me through a generic contract.

Genuinely, skin is the one area where bargain hunting backfires so bad.

Has anyone else noticed this after moving away from big chains to actual boutique clinics? Like is it just me or are the franchise ones getting worse?

reddit.com
u/pratty041182 — 5 days ago

My elderly aunt can't live alone anymore and I need to sell her house fast

My aunt is 82. She's been living alone in her LA house for decades, but it's not safe anymore. We're bringing her to live with us in another state where we can take care of her

But we have to sell her house. And it's a mess…

Old, cluttered, outdated. She's got decades of belongings stuffed in every corner. There's no way we have time to sort through everything or make repairs. We live across the country. We can't manage a renovation from here

And she needs the money for her care. Every month this sits unsold, we're dipping into her savings just to pay taxes and insurance

We need to close in a couple of weeks. We need to sign the papers and be done with it

I've heard about companies that buy houses for cash like as-is, no repairs, no showings. Well… EazyHouseSale keeps coming up in my searches. Their website says they close fast and handle everything

But I'm kinda terrified…

I don't know if this is the right move or if I'm just falling for a pitch because I'm exhausted

Has anyone actually sold to one of these companies? How do you know if you're getting a fair price? I just want to do right by my aunt. She deserves to be taken care of

u/pratty041182 — 5 days ago

Private practice vs. DSO network, which one actually treats their staff better long-term?

I’ve spent my whole career assisting in small, independent family practices, and while I love the cozy vibe, the complete lack of real benefits, health insurance, and structured PTO is getting old. I'm looking at openings under regional management networks since they have a huge multi-state setup and centralized HR. For the hygienists and assistants who made the jump to an affiliated corporate network, is the grass actually greener? Do the corporate benefits and payroll stability make up for losing that tiny private office feel, or do you just end up feeling like an easily replaceable corporate number in a massive machine?

reddit.com
u/pratty041182 — 7 days ago

Traditional SEO is becoming the Yellow Pages of the 2020s and most SEOs still don't see it

I know this will get downvoted by the "SEO is fine" crowd but hear me out.

Yellow Pages didn't die overnight. It just slowly became irrelevant while the people selling ads in it kept insisting it still worked fine.

Google traffic is down for a lot of informational queries. People are going straight to ChatGPT or Perplexity for research. And the thing is, the signals those AI tools use to decide who to recommend are completely different from what Google ranks.

I've been reading everything I can about GEO (generative engine optimization) and most of it is vague. Best concrete breakdown I found was from ROI marketing agency, they laid out the difference between ranking for Google and being cited by AI in a way that actually made sense. Core of it: AI doesn't want the most optimized page. It wants the most citable source.

Are we all just going to keep selling the same product while the floor shifts under us?

reddit.com
u/pratty041182 — 10 days ago

just got back from australia and honestly i'm still processing

spent 3 weeks over there and im already planning how to get back. did the usual east coast route - sydney, brisbane, sunshine coast, byron absolutely loved it. the beaches, the weather, the coffee (seriously why cant anyone else make coffee like that).

but damn the cost of everything caught me off guard. like i knew it was expensive but actually seeing it in person is different. accommodation especially was brutal. spent way more than i budgeted on just places to sleep.

met this couple at a hostel in byron who were doing a working holiday. they were trying to find a rental somewhere and having no luck. said even finding a room was a nightmare

it's weird cause australia's always had this reputation of being this chill, easy place. but seeing the housing stress first hand made me realise it's not all sunshine and beaches for everyone. still an incredible country though. i'm already looking at flights for next year.

anyone else been recently and felt the same? or am i just poor and complaining lol

reddit.com
u/pratty041182 — 11 days ago

Procedural dungeon generator using graph-based room connections — happy to share scripts if there's interest

After several weeks of trial and error I finally got a procedural dungeon generator working in Unity that pieces together modular rooms at runtime using a graphbased approach. The basic idea is each room prefab has defined connection points and the system walks a graph to snap rooms together without overlaps. Sounds straightforward, but getting the overlap detection and backtracking right was genuinely painful.

A few things I wish I had known earlier. Storing room bounds in a dictionary keyed by grid position made collision checks dramatically faster than iterating every placed room. Having a clear separation between the generation logic and the visual instantiation made debugging much easier, since I could log the whole layout before spawning a single GameObject. Also, do not underestimate how much your modular asset design affects generation quality. Rooms with inconsistent pivot points or connector offsets will cost you hours.

The generator now runs in under 50ms for a 20 room dungeon on midrange hardware, which feels acceptable for a loading screen situation.

Has anyone else gone down the procedural generation rabbit hole in Unity? I am curious whether people prefer graphbased approaches, BSP trees, or wave function collapse for this kind of thing. Also happy to share the core scripts if there is interest.

reddit.com
u/pratty041182 — 13 days ago

do you like these bollywood inspired tees?

i’ve been looking for casual clothes with a bollywood vibe lately and saffron society has some nice designer options. the designs feel fun but still easy to wear every day.

what are your favorite bollywood inspired pieces or brands right now? any recommendations for good everyday looks?

u/pratty041182 — 14 days ago

How do you actually push through the middle of a project when the excitement wears off?

I've been working on my first indie game for about eight months now. The first couple months were amazing, every day felt exciting and I was making visible progress. New mechanics, new art, the whole thing felt fresh.

But now I'm deep in what I can only describe as the slog. The core loop works, the basics are there, but now it's just... polish, bug fixing, balancing, writing dialogue, all the unglamorous stuff. And honestly it's starting to feel like a second job rather than something I love.

I'm not ready to quit, I genuinely believe in the project. But I'm struggling to find ways to stay motivated day to day when the wins feel smaller and the todo list feels endless.

I've heard people call this the valley of despair in game dev. I'm curious how others have handled it. Did you set strict daily goals? Did you let yourself take breaks? Did you find a way to reframe the boring tasks so they felt meaningful again?

Also wondering if having a small community or even just one accountability partner helped anyone stay consistent. I've been mostly solo and silent about the project, which might be part of the problem.

Would love to hear from people who finished something. What got you through the middle?

reddit.com
u/pratty041182 — 14 days ago

ok someone tell me if im being stupid about this

so ive been going to reformer pilates for like 6 months now and honestly i love it. my back feels better, im stronger, all that good stuff. but the cost is actually killing me. im paying 35 a class and going 2-3 times a week. thats like 400 a month. on just one workout.

i tried looking into cheaper options but everything near me is the same price or even more expensive. i thought about buying a reformer for home but theyre like $2000+ and idk if i can justify that.

then someone mentioned megaformer to me. apparently its a different machine and different workout but supposedly more intense so you get more bang for your buck? like you only need to go 2x a week instead of 3-4 times? that would save me money long term if true.

but i have no idea if megaformer is worth it or if its just a trend. i found this article about megaformer vs reformer and it helped a bit but i still dont know if its the right move for me.

im not trying to be a fitness influencer or whatever. i just want to not hurt and maybe look a little better. but i also want to not go broke lol.

anyone here tried both? which one actually gave you results without emptying your wallet? and is megaformer too intense for someone with a bad back? i dont wanna injure myself.

also if you bought equipment instead of classes what did you do and how much did it cost?

i feel like im overthinking this but $400 a month is real money and i need to figure this out.

u/pratty041182 — 14 days ago
▲ 10 r/gamedev

What actually helped you scope your first game down to something you could finish?

I keep seeing postmortems from solo devs and small teams who spent years on a project only to ship something that missed the mark or never shipped at all. The common thread almost always comes back to scope. Too many systems, too much content, features that sounded essential in month one but became anchors by year three.

I'm working on my first real project and I've already caught myself adding things that have no business being in a first game. A crafting system that wasn't in the original concept. A dialogue tree more complex than the game probably needs. Sound design ambitions way beyond my current skill level.

I've read the usual advice about cutting features and building a vertical slice first, but I'm more curious what actually worked for people in practice. Did you set hard deadlines and stick to them no matter what? Did you strip the design doc down to a single page? Did you find a specific way to evaluate whether a feature was core to the experience or just exciting noise?

I'm especially interested in hearing from people who shipped something small and learned from it rather than people still waiting to ship the big one. What did finishing a smaller project teach you that no amount of planning could?

reddit.com
u/pratty041182 — 14 days ago

The Medigap plan choice

I'm at the kitchen table with my laptop and two brochures, a glass of wine, and a growing headache…

My husband has been through the wringer with diabetes, heart stuff, the works. We're retired now, and Medicare is supposed to be our safety net. But nobody warned me about this part

We're stuck between Plan G and Plan N. The premium difference is only $20 a month. That's nothing, right?

But then I read the fine print. Plan N has copays. And coverage abroad? Our daughter lives in Europe and we visit every year. One brochure says "yes," another says "partial," and my neighbor's cousin says "good luck."

I feel like I'm gambling with my husband's health over $20. What if he ends up hospitalized and saving $240 a year costs us thousands? I can't mess this up. He's my whole world

I found something like Medicare School online. Hoping they can explain it like I'm five, because honestly? I'm scared and confused. Nobody teaches you this stuff. You just turn 65 and suddenly you're supposed to be an insurance expert

Has anyone actually done the real math on Plan G vs. Plan N? Hospital stays, specialist visits, that one random trip abroad? Is there a calculator out there?

Please tell me I'm not alone in this. I just want to make the right call for him

reddit.com
u/pratty041182 — 18 days ago
▲ 45 r/Unity3D

What Unity project decision did you make too late and end up regretting?

I'm at that awkward stage where the project is still manageable, but I can already see future problems forming. Nothing is broken yet. The game builds, systems work, and I can still find most things without too much pain. The issue is that I've started catching myself saying things like: I'll organize that later. I'll split that assembly later. I'll clean up those dependencies later. Every time I've said that on previous projects, "later" eventually turned into a weekend of refactoring.

For those who have worked on larger Unity projects, what was the decision you wish you'd made much earlier? Was it Assembly Definitions? Folder structure? Naming conventions? Dependency management? Something else entirely?

I'm less interested in official best practices and more interested in the thing that made you say, I should have done this six months ago.

reddit.com
u/pratty041182 — 24 days ago

South coast itinerary in october

I'm heading to Iceland from October 12 to October 18. I'll fly into Keflavik Airport and stay in a hotel right in central Reykjavik the whole time.

Since I don't drive I plan to do a couple of South Coast day tours. I found some great options online including the classic South Coast of Iceland Day Tour with waterfalls and black sand beach plus the Glacier Lagoon & South Coast Day Tour.

Anyone around those dates want to team up as travel buddies? Would be fun to share the tours and grab dinner after. Let me know if you're interested!

reddit.com
u/pratty041182 — 25 days ago

kitchen cabinets and drawers falling apart after 15 years - repair or full remodel

my kitchen is a disaster right now. almost all the cabinet doors are sagging or completely off their hinges, half the drawers wont close properly anymore, and the laminate on the countertops is peeling up near the sink from water damage. ive been dealing with this mess for months and im totally exhausted from it.

i reached out to jmk contractor for a full kitchen remodel quote and they came back with twenty eight thousand dollars. im seriously thinking about doing the full remodel instead of trying to patch everything up piece by piece.

reddit.com
u/pratty041182 — 1 month ago

Navigating Medicare options with pre-existing conditions - struggling with supplement costs

Where should I be looking for affordable Medicare supplement coverage? The premiums for Medigap plans for me and my spouse are approaching nearly $700 a month combined. We've tried researching options ourselves but the marketplace feels overwhelming and we're not sure if we're missing better alternatives or group purchasing options. Where do people typically go to find competitive rates or broker assistance? Or if not, how are others managing these costs?

Background:

Located in Florida, both recently eligible for Medicare.

We're both on Medicare Part A & B, employer coverage ended.

Medigap Plan G coverage for us (65M, 63F) is running close to $700 monthly. I have a pre-existing cardiac condition (stent placement 8 years ago).

Any guidance would be genuinely appreciated!

reddit.com
u/pratty041182 — 2 months ago

humidity is absolutely destroying my eye makeup and im over it

is anyone else just giving up on wearing eyeshadow lately? the weather is actually a joke. I spend twenty minutes blending a nice soft look just for it to completely melt into my crease the second i step outside

my eyelids are naturally super uneven anyway, so when the heavy humidity hits, my left eye just gets puffy and completely swallows whatever eyeliner I managed to apply. it looks deranged. I usually just slap on some d-up double eyelid tape to force the droopy side to match the normal one so my liner stays straight, but dealing with the actual pigment sliding down my face is a whole different battle

and don't even get me started on the makeup prices here rn. having to drop like $58 at mecca for an "industrial strength" setting spray only to look like a sweaty raccoon by 2pm is literally highway robbery. I feel like everything is getting so much more expensive and the formulas are just tanking

genuinely considering just tinting my lashes and abandoning all my palettes until april. how are you guys surviving this without looking like a melted candle?

reddit.com
u/pratty041182 — 2 months ago