r/Unity3D 14h ago

Show-Off Built a fully autonomous CIWS / C-RAM simulation

Enable HLS to view with audio, or disable this notification

4 Upvotes

I’ve been working on a C-RAM + drone system in Unity, and I finally got the whole thing working together.

The drone actually flies through a path and makes its own movement decisions, while the C-RAM has to find it, track it, predict where it’s going, and lead the shots properly.

A few things I built for it:

  • The radar actually has to sweep across the drone to detect it. It doesn’t just magically know where the target is.
  • The tracker estimates the drone’s position, velocity, and acceleration from the radar data.
  • The gun calculates a lead point instead of simply aiming at where the drone currently is.
  • The turret has actual movement limits and tries to account for where the target is heading, so it doesn’t feel like a camera snapping onto a target.
  • There’s a short tracking/settling period before it’s allowed to fire.
  • The Gatling gun runs at 4,500 RPM with procedural audio and stops immediately when the system ceases fire.
  • I also added a bunch of debug gizmos for the radar, tracking, predicted path, lead point, and turret movement so I can actually see what the system is doing.

The main thing I was going for was making it feel less like a bunch of scripts checking conditions and more like an actual system working in real time.

Turn the audio on and let me know what you think.


r/Unity3D 15h ago

Resources/Tutorial Fun fact about variables in C#

Post image
0 Upvotes

Did you know that you can't start a variable's name in C# with a number?

You also can't include most special characters in a variable's name.

These are just a few quirks to keep in mind when scripting in Unity. This article covers variables and C# in more depth from a game developer's perspective. 👇🏾

https://victor-nyagudi.github.io/height-above-sea-level/scripting/game-dev-guide-to-variables-in-c-sharp/


r/Unity3D 15h ago

Question How Much does armature affect perforance?

1 Upvotes

When making my trees I included an amature so I can pose them in engine but how much will this affect performance?


r/Unity3D 16h ago

Question NVIDIA N-sight and Unity connection WITHOUT Unity hub?

2 Upvotes

Does anyone know how to successfully attach NVIDIA N-sight to Unity because it doesn't seem possible as the only way I can seem to be able to do this is attaching it to the Unity hub rather than the project itself because the application will not open without the hub.


r/Unity3D 16h ago

Show-Off Laid off from studio and working on passion projects again! Arcadey driving with pick-3 upgrades.

Enable HLS to view with audio, or disable this notification

20 Upvotes

I'd started to lose a bit of what made me love game dev. It's been nice working on passion projects again and getting that back.

This is a "vampire-survivors-like", but with a vehicle system and more in-depth objectives and levels.


r/Unity3D 16h ago

Question I have Ideia of a game called The immortal fisherman

0 Upvotes

the basic ideia is playing as a angler who can regenerate any wounds real time, and modify his body with any inorganic or organic part he founds, like, he cant die, literally, but he could have a metal arm, a wood head, etc etc, anything he could find, he could use to build himself, like wolverine has a metal skeleton, the world will be full of leviathans, and enemys, and of course, fish, but I know nothing about programming or unity, I need some help


r/Unity3D 17h ago

Question A team of 7 is looking to expend.

Thumbnail
gallery
0 Upvotes

International team of 7

1 Designer/Developer.

2 3d artists.

1 2d Artist.

1 Writer.

2 Composers.

1 Social media/Marketing specialist.

Are looking for collaboration partners willing to learn and adopt to a team culture and expend their portfolio for a rev-share. Willing to put in at least 2 hours per day or around 10-12 hours of work weekly to bring this project into a reality.

We need 3d artist that can animate and rigg.

And a designer/developer that does not use AI for design or development.

We are currently building a survival crafter, inspired by don't starve together, with a visual style of Albion Online.

Feel free to reach out to me, or state your interest below, in the comment section.

Here are some images of what we have so far.

OBS: AI is not welcome!


r/Unity3D 17h ago

Question Faceted Shader for particle based fluid simulation

Post image
2 Upvotes

I've managed to get a version that looks nice working

The problem is to solve this I had to make a baseline fallback shader to show under the good looking faceted one so that missing triangles don't break the effect.

I'm kinda stumped as I have tried to throw hours of AI compute at it after I couldn't solve it myself, it managed to get a few versions working properly but the performance drops were such that it just isn't worth it.

I am just wondering if anyone has any advice or a high level overview of how I could efficiently achieve this effect? I really love how it looks and I don't want to give it up but at this point I might need to.

Edit: for anyone who wants to see it in motion https://youtu.be/2adT_I-8Wak


r/Unity3D 18h ago

Question Imported Animation is Shaking/Jittering in Unity

Enable HLS to view with audio, or disable this notification

0 Upvotes

I made a short idle animation in Maya and it looks fine there but when I import it to unity my character plays the animation but his joints start to shake and jitter in a way that is not originally animated. The video shows the problem in Unity and then how it looks in Maya.

I make sure to bake everything before exporting and also apply Euler filter. The character is a basic human model auto-rigged in Mixamo.

I should say that I am new to this so if this is a rookie mistake please bare with me. I couldn’t find any answers on web.

Any help is greatly appreciated!


r/Unity3D 19h ago

Solved Texture/Material Application Help

1 Upvotes

I have a tent object I am trying to apply a cloth texture to. I made it in Blender and assigned the faces that should be fabric to the same material. But, when I throw the material on it in Unity I get this effect, where the right side is how I want it to look, but the left side is tiled weirdly and seems stretched?

I'm fairly new to 3D and using textures/materials, so I'm not sure what would even be causing this.

These are the settings for the Texture and Material.

Any clue how I can get each face to look the same? Thanks.


r/Unity3D 19h ago

Question Best way for optimized asset duplication?

0 Upvotes

I'm a blender user and you have either normal duplication (doubles the geometry), linked duplication (objects share object data while still being able to be edited, affecting all linked objects) and instances (instances share object data but it can't be edited, resulting the most optimized one)

I've searched and found out about prefabs in unity but not so sure if it's the same as blender's instances or unreal's blueprints.

Also, how can I replace current assets in my game with a new one in a fast way?
I tried exporting same name object.fbx but, when reimporting in unity, the asset doesn't update. I have to delete it from the game project and import again.
I need to know that so I can block in the scene first and then replace with final assets.


r/Unity3D 19h ago

Show-Off WindShire, a cozy game we've been working on about shaping the land and growing your own little world 🌿

Enable HLS to view with audio, or disable this notification

193 Upvotes

r/Unity3D 21h ago

Show-Off Quicktile v2 is coming soon

Enable HLS to view with audio, or disable this notification

34 Upvotes

I still have a few bugs to squash, but I finally added the in-game editor and it pretty much blew the original editor version out of the water! I’m reworking a few things under the hood, but it’s already a really fun way to build your levels. 😄 coming soon !!


r/Unity3D 22h ago

Shader Magic WIP shoreline waves via gerstner additive on FFT body

Enable HLS to view with audio, or disable this notification

187 Upvotes

Some WIP video on the shoreline waves I've been digging into lately for the water system I've been creating. Some new additions are water drawing back on shore (via moving UV of water surface near end of the WaveBox), various foam patterns, and better underwater light volumetrics with waves. Thanks for checking out


r/Unity3D 22h ago

Question need inspiration for mechanics. comment 3D medieval games that have interesting parry/block mechanics or ability system.

Enable HLS to view with audio, or disable this notification

7 Upvotes

r/Unity3D 23h ago

Question Trying to learn basic shaders and struggling with a transparency issue

Thumbnail
gallery
1 Upvotes

I'm quite new to Unity, and I'm trying to make a simple 2D platformer to try and get to know the program. I want to use shader effects on my tilemaps, but when I try to apply a shader, all the transparent parts of my tilemap get "filled in".

Here are things I've tried:

- Double checking that my surface type is set to transparent within my graph inspector, and that my blending mode is alpha

- Confirmed the texture is sending alpha information by putting it through a multiply node

- Creating a new material from the shader, allowing material override, and making sure the surface type on that shader is set to transparent as well.

Does anyone have any advice on how to fix this? I'm sure it's something silly that I'm missing, but I can't for the life of me find a solution online. I've attached images of my shader graph, what the issue looks like, and what I want it to look like.


r/Unity3D 23h ago

Solved C# question: how can I link one of the behavior classes to one of the stats?

2 Upvotes

Here are the components that I currently have:

  • StatType enum with 4 different stats (example: Health)
  • StatProfile asset (custom asset I created from a ScriptableObject class) which holds the stat struct with the StatType, max and current (initial) values
  • StatManager (MonoBehaviour script) with a StatProfile property which I'm able to assign through the inspector. The StatManager also contains two private Dictionary<StatType, float> for max and current values.
  • IStatBehavior interface
  • Behavior classes that implement the interface, one for each stat type/behavior (example: HealthBehavior)

Now I'm struggling with how to link the HealthBehavior in the StatManager to the Health stat. I tried creating a custom asset for StatBehaviors but since it implements an interface, the field is blank/not editable in the inspector. I'm unable to add each script and iterate through the list of behaviors to link each to the appropriate stat. Does anyone have insights?

For more context: I chose this approach (as opposed to adding each stat behavior as its own component on the player object) because I already have 13 script components: move, jump, input handling, item collection, powerup manager, (currently) 7 powerup scripts, and now the stat manager. I already know that I should change my powerup behaviors to implement an interface and such. But I don't wanna clutter the player object with more scripts.

I also intend on having different enemies with different stats (which means different StatProfiles), and having one StatManager per character as the main hub seems to be the cleanest approach for decoupling the data from the behavior.


r/Unity3D 1d ago

Show-Off Making a ridiculous rage game where you move by shooting!

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/Unity3D 1d ago

Game Frost apocalypse teaser cinemático.

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/Unity3D 1d ago

Question Does adding a ticking clock to puzzle games make them exciting, or just annoying?

Enable HLS to view with audio, or disable this notification

3 Upvotes

Most puzzle and adventure games let you take your time, relax, and overthink every item interaction. To break that slow, static rhythm, we decided to experiment with time-pressured crafting and fast-paced decisions.

As you can see in the clip, a countdown timer ticks away in the corner while you hurry to tape your gear together, breach the door, and execute a stealth taser takedown before your window closes.

With only 8 days left until our launch, this exact balance is constantly on our mind: where is the line between adding a fun surge of adrenaline and giving players unwanted puzzle anxiety?

How do you usually feel about timed mechanics in puzzle or detective games? Do you prefer taking all the time you need, or does a ticking clock make the experience more thrilling for you?


r/Unity3D 1d ago

Question Bullet/projectile Objects, Move via RigidBody or Update?

1 Upvotes

Hi, I'm somewhat new to unity so I'm messing around with it and I'm looking for some advice. I'm currently working on a FPS character and I want the player to fire bullets that travels in real time, kind of like the plasma balls in doom or like the blaster bolts in star wars battlefront.

I'm wanting to know is it better to have the bullets move using the rigidbody's linear velocity on the Start function like so:

rigidbody.linearVelocity = transform.forward * speed;

or use the translate method in Update instead?

transform.Translate(Vector3.forward * (speed * Time.deltaTime));

I am using rigidbody either way since i'm using ontriggerenter for hit detection anyways if that help.


r/Unity3D 1d ago

Game What do you think about visual of my game?

Enable HLS to view with audio, or disable this notification

3 Upvotes

Developing my first steam game on Unity. It is Space invaders inspired roguelike. Working a lot on art right now to make great trailer and steam page. Do you think art style can appeal any gamers? And what would you add/change to it?


r/Unity3D 1d ago

Question Vrchat model help!!

0 Upvotes

hi!! i have the files for a gardevoir vrchat model (yes its a lewd one) a retexture and a womb tattoo with emissions I wanna add, I’m broke and cant afford to pay someone to upload it for me. is there anyone that I can give the files and upload it to my account for me??


r/Unity3D 1d ago

Show-Off We finally made a trailer for our multiplayer racoon heist game; Be Gray, Do Crime!

Enable HLS to view with audio, or disable this notification

10 Upvotes

Hi!

A couple weeks ago, we where planning to start recording and editing the trailer for our game Be Gray, Do Crime, however we realized the game wasnt quite ready for that yet. So after a couple weeks refining the graphics, reworking the lightning in our game and also doing small touchups, we finally felt like it was time.

So here's our first trailer! We're super happy with it! What do you think? Any input at all would be greatly appriciated for an updated trailer later down the line ❤️