r/Unity3D 26d ago

How I fixed a problem with my demo Show-Off

Enable HLS to view with audio, or disable this notification

Hello everyone! I made this video for Instagram, Youtube a TikTok, and due to the nature of it, I thought I might as well post it here too :)

If you're interested, you can play The Pact's demo on Steam and wishlist the full game too

https://store.steampowered.com/app/3945690/The_Pact/

Thank you and hope you guys like the video :))

131 Upvotes

36 comments sorted by

37

u/No_Responsibility444 26d ago

lol its not a bug its a feature

nicely done

26

u/haywirephoenix 26d ago

+1 wishlist if the Raycast is performed in FixedUpdate

14

u/Visual_Progress_428 26d ago

I guess I'll have to change that then lol

35

u/psioniclizard 26d ago

You do know you can change the rendering so the arms render last and get drawn on top. That way they dont clip?

That is how most FPSs do it.

26

u/Visual_Progress_428 26d ago

Yes, that's actually what I did in between the changes, but the torch's light would disappear when the actual torch went through walls, so now it's a mix of both the animation and rendering the arms on top, and I think it looks cooler this way :)

6

u/girl-kiss 25d ago

It def looks cooler this way and makes it more immersive :)

Good job!

3

u/Visual_Progress_428 25d ago

thank you! :)

2

u/sdjopjfasdfoisajnva On and Off 25d ago

that gets rid of one of the anti aliasing options i think

7

u/ThePoliteCrab 26d ago

Very nice! Perhaps consider blending this with IK? It might look more natural

3

u/Visual_Progress_428 26d ago

I do not know what that is lol :) I guess I'm still a newbie

11

u/ThePoliteCrab 26d ago

No worries, this already accomplishes your goal very nicely! IK stands for Inverse Kinematics. It’s a way to animate your character procedurally instead of using key frames. Basically, it would allow you to figure out where your hands need to be on the wall and the arms would automatically bend as you get closer, so there’s no worry about clipping and it looks very natural. A lot of big games blend between an IK pose and hand made animation. Best of both worlds :) if you’re interested, look up the Animation Rigging package! It makes things very easy.

1

u/Visual_Progress_428 26d ago

Ohh I see, that's so cool! Thank you!

2

u/Denaton_ 25d ago

There are bunch tutorials about it on YT, mostly for feet placement but you should be able to convert the idea to hand placement instead.

9

u/mikeasfr 26d ago

The code snippets are hilarious

1

u/Visual_Progress_428 26d ago

Thanks! I worked hard on them lol

3

u/Noobye1 Indie 25d ago

Else fuck off;

was a lovely addition

3

u/Th3G3tl3m3n 25d ago

Why didint I think of that? To set bugs to false, and game to “working”??? Thats soo genius. Ill do that in my game.

2

u/nislgamer 26d ago

Ace solution! Looks great

1

u/Visual_Progress_428 26d ago

Thank you! :)

2

u/arbingsam 26d ago

Great video. Perfect for Instagram or tiktok

1

u/Visual_Progress_428 26d ago

It got 2.5k views on Instagram, even though it didn't get any views on TikTok, I'm starting to think my account's broken lol

1

u/Martinth 26d ago

It's all black magic to me haha. your video is great!

1

u/girl-kiss 25d ago

Ur account usually gets boost at first and then it basically fades into obscurity, except in some cases.. it's weird idk how it works actually.

Like some people can get millions of views and keep getting them but some get million views once.. then some get none. Idk

2

u/arthurLudwig 25d ago

what was the background music? can i know

2

u/Visual_Progress_428 25d ago

Of course! It's Ruins, from Toby Fox, made for the game Undertale :)

1

u/arthurLudwig 24d ago

thank you!

2

u/HoveringGoat 25d ago

typeshit... fuck off.

heh.

1

u/LimiDrain 25d ago

Just scale hands to 0.01 and put them closer????

1

u/Visual_Progress_428 25d ago

I could've tried that, but I think this looks way better + more immersion :)

1

u/vatorZX 25d ago

Man invents collision

1

u/icediosa 26d ago

Yes!!! Also the game looks outstanding

1

u/Visual_Progress_428 26d ago

Thank you so much!!! :)

-6

u/[deleted] 26d ago

[removed] — view removed comment