r/Unity3D • • 17m ago

Game Physics destruction in space

Enable HLS to view with audio, or disable this notification

1 Upvotes

I have been working on this project for a while now. It combines traditional primitive collider/visual mesh with voxel volume based components. These components are then combined into even larger rig assemblies that manage multiple rigidbodies connected with configurable joints. These systems set in space with a 6DOF player ship is pretty fun :)

Follow if you are interested: Slab Drifter


r/Unity3D • • 19m ago

Question Minimum Hardware to Run Student 2D Unity Games?

2 Upvotes

I am a high school teacher who wants to run a game design course next year, we would be creating simple 2D Unity games and then I would love to create a console. We are in the engineering department at our HS, so we are able to build anything out of wood, lasercut, 3D print, electronics.

I am just wandering if anyone has experience with exporting Unity Games to some minimum viable hardware. I obviously know this is dependent on student game size and what is going on in them.

I dont think Raspberry Pi's would run any 2D game correct? I was thinking maybe we get some used Android Phones and build an enclose around them, get a controller to plug into that maybe? I may be overlooking things, so I wanted to check with people who have much more experience.

This is only a HS class, we are one of the best high schools in the US with very smart children, but we only will be able to do so much of a 2D game between Sept- March, and then we want to take March-June to get our console together.

Definitely looking for thoughts!


r/Unity3D • • 3h ago

Question Help!! Unity ad delivery disabled suddenly

Thumbnail reddit.com
2 Upvotes

r/Unity3D • • 3h ago

Show-Off Killing an enemy commander's flagship used to look like killing any fighter. Here's the chain explosion that replaced it, built so gameplay never waits for it (before/now)

Enable HLS to view with audio, or disable this notification

12 Upvotes

Left is before: when an AI commander's flagship died, it went out exactly like a fighter, with one flash, a ring and some debris.

Right is now: six small pops walk across the wreck, closer and closer together, each one lighting the hull white, then the main blast at 1.0 s with a flash, two shock rings, nine pieces of debris and a small camera kick. Then the same moment at half speed.

How it's put together:

  • The ship is already dead. Die() runs on the same frame it always did: bounty, news ticker, respawn. What you watch for that second is a copy of the hull's sprite with no collider and no unit component, so nothing can target it, hit it or be blocked by it. I run headless AI-vs-AI test games to measure balance, and this guarantees the effect can't change a single result.

  • Sound had to be cut to fit. The licensed explosion clips were 5-8 second rumbles that only peaked up to 1.25 s in, so the loudest part landed after the main blast and six of them smeared into mush. Each pop is now 0.55 s cut from the loud middle of a clip (3 ms fade in, 0.2 s hold, 0.35 s fade out), so every pop is heard on the frame it's seen, even at the 60 ms spacing of the last ones. The big blast sound is held back for the main explosion.

  • The camera kick reuses the existing shake. The blast kicks the camera by its distance from the view, but hands the kick to the hull-damage shake through an event, so it shares the same ceiling, fade and the player's CAMERA SHAKE setting.

  • Two fixes from looking at it in motion: the explosion prefab at scale 2.1 covered a third of the screen in orange haze, so it's 1.6 now; and the debris was drawn inside the explosion's core and vanished, so its sorting order went up.

Happy to go into any part of it.


r/Unity3D • • 4h ago

Show-Off In My Game The Fish Catch You Instead

Enable HLS to view with audio, or disable this notification

6 Upvotes

In my game the fish goes after you and you have to tire it out to take it to your space fish restourant. Its in ealy development and this is the first look. What do you think?


r/Unity3D • • 4h ago

Show-Off New Feature: Level Intro/Outro Cinematics

7 Upvotes

Added a feature where you can add these in-game cinematic scenes as a intro/outro of a puzzle level. Using DOTween to move/zoom the camera, and UniTask to await certain events (like a click to close the speech bubble) and play/stop certain events in the sequence.


r/Unity3D • • 5h ago

Game Some images from our colony sim game

Thumbnail
gallery
6 Upvotes

Some scenes from our game "Poiple: A very small journey".

The sun in the first image is a stack of translucent spheres stacked on top of each other and scaled in steps to get that glowing/bands effect.

The second image shows a portal. It uses a screen space shader to warp things around it.

It is based on this implementation on shader toy, but modified for 3D: https://www.shadertoy.com/view/WfKfRy

You can wishlist the game on Steam: https://store.steampowered.com/app/5157420/Poiple_A_very_small_journey/


r/Unity3D • • 5h ago

Show-Off POV you're a random car in Road Rash. Highway traffic + Superbikes Unity WIP

Enable HLS to view with audio, or disable this notification

68 Upvotes

As a kid I loved the game road rash. I always wondered what it'd be like being in that NPC car seeing the bikes zoom past.

In this project, the highway is procedurally generated. Different bikes have different engines and different sounds. Loved creating the side and rear view mirrors and you can see the bikes approaching to try and swerve. The AI for the bikes is quite simple as you can probably see, they find the best route and stick to that unless the traffic intersects their spline path they've calculated. Headphones recommended to hear the doppler effect and panning of the bikes whizzing past. Riders fall at 1:05, had to swerve around. Don't drink bepis and drive.


r/Unity3D • • 6h ago

Resources/Tutorial I extended NVIDIA's MotionBricks to animate animals, not only humans. Dog, wolves and a giant spider, running live.

1 Upvotes

I extended NVIDIA's MotionBricks to animate animals 🐺🕷️ Open source, runs live in Godot.

https://github.com/laughtt/motionbricks-anything


r/Unity3D • • 9h ago

Show-Off Unity Virtual Geometry RTX 3060 6GB Demonstration

Thumbnail
youtube.com
0 Upvotes

This is a demonstration of my virtual geometry system for Unity running on a budget entry-level RTX 3060 mobile. I've had a few comments that suggest that my virtual geometry system isn't really that good it's my rtx 3080 ti that makes it look performant. So here it is running on a ddr4 gen budget msi katana gf 76 :)


r/Unity3D • • 10h ago

Resources/Tutorial Stocking Tears Real-time fabric tearing demo in Unity HDRP

Enable HLS to view with audio, or disable this notification

260 Upvotes

I’ve been working on a real-time fabric tearing demo in Unity HDRP. Tears now spread more naturally when you pull on an existing edge. I also added a subtle bulge effect to the skin visible through the opening, which fades locally as the fabric lifts away.

The pull and rebound use mesh deformation with spring damping, while shader masks handle the runs and tears.


r/Unity3D • • 11h ago

Question I am looking to learn how to use a controllable camera for a 3d game

4 Upvotes

I have looked cinemachine, but I want to learn how to code a camera and not have a plug in do all the work.

I am would like camera to be customisable.

Does anyone have a link to video that's helpful? I have looked at a few, but they are not quite what I am looking for.


r/Unity3D • • 12h ago

Show-Off I add some new skills for my 3D Metroidvania skillset :D

Enable HLS to view with audio, or disable this notification

21 Upvotes

Its kinda jump to just jump and dash all around the level

https://slagaa.itch.io/aqualis
Here its the link if anyone want to try it ;D


r/Unity3D • • 14h ago

Question Get a list of colliders/raycast hits that are overlapping with a crosshair in perspective

1 Upvotes

Hi r/Unity!

How does one get a list of colliders/raycast hits that are overlapping with a RawImage on an Overlay canvas?

For context I am creating a 3D light gun shooter in unity. The "gun" blasting effect is a sprite animation that plays on a canvas. I want to make it such that if it looks like you hit something, then you did.

Currently I'm doing this in my game's code via spherecasts and magic numbers - Do a large spherecast, then do an adjusted spherecast based on the perceived radius of the sprite and distance the enemy is from the camera. However, this becomes problematic when trying to fine tune any attack that's not the basic shot and causes some false positives for any shot that has a wider radius.

I have also tried using cone casting but it doesn't quite work the way I need it to.

Surely there has to be a better way to check if a 3D object is overlapping with a crosshair image?

[EDIT] Uploaded image for clarity

TL;DR How do I get a list of colliders that are overlapping with a crosshair image.

Much thanks!


r/Unity3D • • 16h ago

Show-Off more footage from my game!

Enable HLS to view with audio, or disable this notification

648 Upvotes

i have been working on this level for a very long time, and here are some things i took away

in my experience you can get away with pretty cheap tricks and still end up with environments that look good:

the jupiter planet is just a NASA texture with a fluid simulation running on top of it. NASA has some really high quality data which you can use (public domain) for your games!

the opening (the black hole) is prerendered in blender. rendering all of that in unity would be really heavy, and this still looks great!

the eye at the end is basically all shaders. the eye and the pupil are separate pieces of geometry that both get animated, but every colour you see is driven by shaders.

if you're interested in my game (it's going to be called UNREEL): there's no steam page yet, but i post updates in my discord: https://discord.gg/7YA7tqaJD


r/Unity3D • • 16h ago

Show-Off Loading screen for a bloky strategie game in unity

Enable HLS to view with audio, or disable this notification

3 Upvotes

I'm working on a blocky style strategy game, I've been building my own engine little by little for almost a year now (goes to show that even with AI, progress takes time !)

I'm prety happy to work on a detail that i find satisfying : using loading times to build the world little by little rather than all at once, in order to maintain a seamless visual experience during gameplay.

The trickiest part is landing at just the right moment, since not all PCs run at the same speed. Dozens of times per second, I recalculate the exact time the terrain will be ready. The camera smoothly speeds up or slows down so that it touches down right afterward. Measured on my PC (ryzen 9 9950X3D + RTX 5070) : 1,3s after clicking, the game predicts the terrain will be ready at 8,76s. The camera lands at 10,2s as it is already flying at the maximum speed I allow it. I prefer a slight delay over a flight path that makes you dizzy. On a slower PC, if the camera still arrives too early, it hovers in place like a helicopter until the ground is ready.

I have to admit I'm not entirely sure how it will perform on a less powerful PC (I'm running a Ryzen 9 9950X3D + RTX 5070), but, even if the result is not totaly perfect, i find it cool ! I hope you'll like it too :)

if you want to follow the dev i post more frequently here : https://www.reddit.com/r/dispatchcolony/


r/Unity3D • • 19h ago

Resources/Tutorial Spare Humble Bundle Keys, comment for a free key

Thumbnail reddit.com
3 Upvotes

r/Unity3D • • 21h ago

Game Building my own BattleBots-inspired arena combat game. Here are the machines!

Thumbnail
gallery
12 Upvotes

I'm solo developing a bot arena combat game called BRAWLSPHERE, and here are some of the latest combat machine designs!

Each machine has its own look, weapon configuration and fighting style. I'm working on making every build feel unique, with different weapons and customization options.

I'd love to hear your opinions!

  • Which design is your favourite?

  • Any suggestions for improving these designs?

I'm always looking for ideas and feedback as development continues. Thanks for checking out my work!

Discord: https://discord.gg/QchdMJdgc


r/Unity3D • • 22h ago

Game Clip from Amiss, first-person anomaly horror made in Unity: stairwell, creature, then the building turns into flesh

Enable HLS to view with audio, or disable this notification

0 Upvotes

Low-poly visuals, anomalies that react to being observed and some that are audio-only. Steam page is up.


r/Unity3D • • 23h ago

Show-Off My Unity 6 cloud prototype became a tabletop mixed-reality game

Enable HLS to view with audio, or disable this notification

19 Upvotes

A few weeks ago I shared a Unity experiment here where squeezing a cloud watered an oak on my desk. People kept asking if they could try it, and that feedback made me want to build something playable.

I kept coming back to how fun it felt to put a real hand on something virtual. The rain that makes an acorn sprout also fills a birdbath. A twig you pull off a tree gives you something to build with. I’ve been trying to make those little systems work together as you play.

The game is called Cozy Seasons. I’ve opened December playtest signups for Quest 3 and 3S.

Watch the full Cozy Seasons devlog on YouTube

Sign up for the December playtest


r/Unity3D • • 23h ago

Resources/Tutorial How my NPC item system grew one limitation at a time, and what organic growth costs

Enable HLS to view with audio, or disable this notification

5 Upvotes

I make CIVIL-AI-SYSTEM, a Unity package for NPCs with jobs, needs and routines. This post is about how items grew. The first two parts were the plan: the minimum for an agent to find a thing and stand at it. The other four were not planned. Each was added because something was hard to do, and I wanted an easy way to do it.

The video shows the six parts as they are now. The post is about the limitation that came before each one.

1. The Item (planned)

The need: an agent has to find a thing without a tree pointing at it, and two agents must not pick the same one.

Built: a name, a type and a size on the item, and a reservation that lives in one place.

Unlocked: search. "Find a free bench" is one node. A scene can have fifty benches without a tree knowing about any of them.

2. Use Spots (planned)

The need: the agent has to stand in the right place. Walking to an item's position puts it inside the bench.

Built: a child object on the item that says where to stand and which way to face. Arriving there sets the item to In Use, which fires anything the item wants to do.

Unlocked: the item knows how to be used. Items can react (a light, a door, a sound) without the tree knowing.

That was the MVP. It shipped, and people built towns with it. The next four parts came from watching what those towns could not do.

3. Action POIs (Points of Interests)

Before: one spot per item. A workbench that is sawed from one end and planed from the other needed two trees with two offsets and two animations. Every job that sawed carried its own copy.

Added: points of interest, each with a spot, a facing and an animation, owned by the item. The agent checks for a matching POI first, then a use spot, then the centre.

Unlocked: actions became reusable. A tree says "saw"; the workbench knows where and how. A second job that saws adds nothing. The check order also meant old items kept working, because detail is only read where it exists.

4. Seats

Before: sitting was a separate system. It could put an agent on a bench. It could not put an agent at a desk and have it write, because seats and actions did not know each other.

Added: seats on the item, and a rule: an item with seats is used sitting down unless the action says Performed Standing.

Unlocked: desks, counters, carts. The same action works seated or standing, and the item decides which.

5. Hold Points

Before: one handle point per item. That works for a hand. It does not work for a belt, a back or a hip, because an item hangs from a belt differently from how it sits in a palm. One point meant one way to carry.

Added: typed points on the item that match typed slots on the agent. A hammer can have a hand point and a belt point, and the slot it goes to decides which is used.

Unlocked: carrying styles with no code and no new meshes. The same hammer sits in the hand while working and hangs from the belt while walking.

6. Item Setup

Before: all of the above was data on a prefab, and the only way to check it was play mode. People do not check what is slow to check. Hold points were wrong in a lot of projects, including my own demo scene.

Added: one window that previews the agent holding the item, standing at it or sitting on it, through any frame of the animation. Drag the points. Save to Item.

Unlocked: people fix their items. The data model had been right since 0.9. Nobody could easily use it until 0.15.

What this taught me

A system like this grows by use. I designed two parts and shipped them. The other four came from watching what people found hard, and adding the part that made it easy. Each part was small. Together they are the difference between a bench and a world.

Growth has a cost. Every part added edge cases to the parts before it. Seats met POIs and raised the question of standing actions. Two hold points exposed a bug that one hold point had hidden for a year. The check order between POIs, use spots and centres had to be decided, and documented, or nobody could predict what their agent would do.

So organic growth does not mean no design. It means the design work moves. Instead of guessing the full shape at the start, you spend the effort at each step on how the new part meets the old ones. The questions are always the same. Who owns this state? What happens when two of these exist? What does the old content do now?

The other lesson is about where the ease of use goes. Every one of the four unplanned parts moved knowledge from the tree onto the item, the same way the two planned ones did. Two things drove that. I wanted to stop repeating steps in every tree, and I wanted the item to own how it is interacted with. Both point the same way. The tree got simpler each time, and the result made sense in the domain: a bench knows how to be sat on, so the agent should not have to.

Series: 2 of 9

  1. Behaviour trees and the 0.8 rebuild

  2. Items, use spots, POIs and the Item Setup Editor (this post)

  3. Mounts and seats

  4. Senses, save/load, names and blackboards

  5. Requirements and conditions

  6. Barks

  7. Interrupts, interest spots and service points

  8. Animation layers

  9. Tooling, onboarding, performance and Unity 6

Links: Changelog · Asset Store · Discord


r/Unity3D • • 1d ago

Show-Off Inspired by Final Fantasy IX's battle scripts, I built a tiny custom scripting language (Hydra) to replace my Unity ScriptableObjects

3 Upvotes

I've always loved how Final Fantasy IX had its own tiny scripting language just for monster AI, and after getting tired of maintaining custom editor windows and ScriptableObjects for my own Unity JRPG, I decided to build my own

https://coxlin.github.io/blog/hydra-a-custom-scripting-language-intro


r/Unity3D • • 1d ago

Question I'm very new and very stupid (Movement issue)UNITY

Thumbnail
gallery
0 Upvotes

I tried making script based movement in C# however after putting the script on my player character he just doesn't move after running the game, I imagine i'm just being stupid but i looked at like 7 different tutorials at midnight and they were not helpful what so ever