r/Unity3D • • 23h ago

Show-Off My friend secretly made a physics-based horse in our game and revealed it to me

Enable HLS to view with audio, or disable this notification

229 Upvotes

So we're building this co-op action roguelike called Crown & Collision where EVERYTHING is physics based. Movement, combat etc.

We had talked about how cool it'd be to have a mount in the game but then it kinda got forgotten about. Until one day my friend invited me to check out the new feature he had just made.


r/Unity3D • • 17h ago

Show-Off Dynamic motion synthesis ragdoll

Enable HLS to view with audio, or disable this notification

169 Upvotes

r/Unity3D • • 14h ago

Question So much 3D AI crap on the Asset Store

58 Upvotes

Most of the new 3D assets are AI (labeled or not). You gotta be very patient to explore all the new assets in hopes to find something good on the new releases. I force myself to do it in case a gem drops but it's getting more and more flooded with crap. Seriously still no AI filter?


r/Unity3D • • 23h ago

Question Can someone explains for me what each term mean and how to optimize ?

Post image
43 Upvotes

I want to learn about these to optimize the games better besides when it came to optimization for mobiles what is the difference between mobile and pc ? Ik there are stuff in common but at some point for mobile there is an extra work what it is ?


r/Unity3D • • 15h ago

Resources/Tutorial Free Unity/Shader Tutorials

Post image
37 Upvotes

My website is now live! It is designed to be a hub for learning about various processes in Unity, namely rendering & shaders. I have a few tutorials already live and plan to add more as I keep going. The topics will vary in complexity, if there is something you would like to learn about please leave a comment!

This is also going to be the main source of information for my free technical art pipeline B2U Material Master. I greatly appreciate anyone who checks it out!

https://dnart.ca


r/Unity3D • • 12h ago

Game Samurai Soulslike (WIP) Dev Log 3

Enable HLS to view with audio, or disable this notification

11 Upvotes

It's been a while since the last time I made a post. It is my first time trying to make a soulslike game and I wanted to try making it as I absolutely love soulslike genre. It's been a couple of tough months and I had to learn a lot of stuffs but I am making progress slowly but surely.

I have added a couple of enemy variations, two more bosses and some more VFX. Some UI and main menu. Mana bar and player spells. Enemies now have normal attacks that can be dodged and parried, as well as attacks that can only be parried (Yellow attacks) or dodged (Red attacks).

I welcome any feedbacks and suggestions, Thanks.


r/Unity3D • • 12h ago

Show-Off Picked this project back up after some time away and made the grass flammable. It is very satisfying to watch 👀

Enable HLS to view with audio, or disable this notification

9 Upvotes

r/Unity3D • • 10h ago

Show-Off MeshBrush – Paint on Skinned Meshes

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/Unity3D • • 11h ago

Question How to achieve a thick, viscous liquid pouring effect in Unity?

6 Upvotes

I'm trying to recreate the effect shown in this video:

https://www.youtube.com/watch?v=DrUGRGKRmnw

When the liquid is poured from a container, I'd like it to flow like a thick, viscous liquid and gradually pile up in layers before spreading out as it hits the surface, just like in the video.

I tried using Obi Fluid asset, but I couldn't achieve the desired effect, and the performance cost was quite significant. I've looked around for tutorials and resources, but I haven't been able to find useful information.

So I thought I'd ask here in case anyone knows how to achieve this kind of effect.

Would I need to use VFX Graph for this, or is there another approach?

I'd really appreciate any advice or suggestions!


r/Unity3D • • 12h ago

Question Hair Card Materials to URP

Thumbnail
gallery
5 Upvotes

Would anyone who has experience with hair-card based textures/materials have any suggestions for transferring materials to Unity URP from Blender. The first image is the hair as it is set up in Blender and the second is Unity. I believe the issue is with UV mapping, as mapping is shifted in the actual material setting in Blender to align with the actual strand in the hair card texture. Any ideas how to do something similar in Unity with this method of hair card mapping? I have tried messing with the offset and tiling which improved it slightly from image 2 but still far from the correct display. Any help is appreciated!


r/Unity3D • • 1h ago

Question Unity Physics engine not ready when scene loads?

• Upvotes

I have a main menu and then a scene that is loaded when the game starts. Every actor in the scene has a Physics.RaycastAll that detects nearby colliders with a certain tag on Start

I'd never had an issue when the scene was standalone, however now that I am using scene load async (single, not additive) it seems that the physics engine is not awake in order to find the raycast hits, because I debugged all the way down to the actual cast call to ensure that was what was missing;

The actors exist, the external colliders being tagged exist with their correct tags, there is no mistiming from awake/on enable/start functions across the project

However, my raycast makes no hits. I can only assume this is because the physics engine isn't awake when the scene is loaded this way, but considering these functions are being called all the way to Start, it seems unless there is a more straightforward workaround I need to either do a weird collider shake during an awake function, or I need to somehow await async for the next physics update

Anyone know how best to handle this?


r/Unity3D • • 15h ago

Question HELP how do i make a physics gun like in garry's mod with unity 4.6

0 Upvotes

Help


r/Unity3D • • 7h ago

Question First person camera is not working

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hello! I followed the tutorial of someone named "Shark Games" how to do make first person movement in unity. I tried to follow step by step that tutorial including a fix that they suggested on the comments box; everything worked with the exception of my camera movement. Whenever I try to move my mouse to move the camera, nothing happens.

Link of the tutorial that I was following:

https://www.youtube.com/watch?v=v_ncMFEoHTg

Here is how my code looks like:

using UnityEngine;
using UnityEngine.InputSystem;


[RequireComponent(typeof(CharacterController))]


public class PlayerController : MonoBehaviour
{
    [SerializeField] private float WalkSpeed = 5.5f;
    [SerializeField] private float RunningSpeed = 9.0f;


    [SerializeField] private float JumpForce = 8.0f;
    [SerializeField] private float Gravity = 20.0f;


    [SerializeField] private float LookSensitivity = 0.2f;
    [SerializeField] private float LookAngleLimit = 90f;


    private Camera mainCamera;
    private CharacterController characterController;


    private InputAction moveInput;
    private InputAction runInput;
    private InputAction jumpInput;
    private bool jumped = false;


    private float currentMoveSpeed = 0.0f;
    private Vector3 moveDirection = Vector3.zero;
    private float lookAngle = 0.0f;


    void Start()
    {
        mainCamera = GetComponentInChildren<Camera>();
        characterController = GetComponent<CharacterController>();


        moveInput = InputSystem.actions.FindAction("Move");
        runInput = InputSystem.actions.FindAction("Sprint");


        jumpInput = InputSystem.actions.FindAction("Jump");
        jumpInput.started += Jumped;


        Cursor.lockState = CursorLockMode.Locked;
        Cursor.visible = false;


        currentMoveSpeed = WalkSpeed;
    }


   
    void Update()
    {
        Vector2 moveVector = moveInput.ReadValue<Vector2>();
        Vector2 mouseDelta = Mouse.current.delta.ReadValue();


        if (!characterController.isGrounded)
            jumped = false;


        HandleMovement(moveVector);
    }


    private void HandleMovement(Vector2 moveVector)
    {
        Vector3 forward = transform.TransformDirection(Vector3.forward);
        Vector3 right = transform.TransformDirection(Vector3.right);


        float oldY = moveDirection.y;


        Vector2 newSpeed = new Vector2(moveVector.y * currentMoveSpeed, moveVector.x * currentMoveSpeed);


        moveDirection = (forward * newSpeed.x) + (right * newSpeed.y);
        moveDirection.y = (jumped && characterController.isGrounded) ? JumpForce : oldY;


        if (!characterController.isGrounded)
            moveDirection.y -= Gravity * Time.deltaTime;


        currentMoveSpeed = runInput.IsPressed() ? RunningSpeed : WalkSpeed;
        characterController.Move(moveDirection * Time.deltaTime);
    }


    private void Jumped(InputAction.CallbackContext _)
    {
        jumped = true;
    }


    private void HandleLooking(Vector2 mouseDelta)
    {
        lookAngle += -mouseDelta.y * LookSensitivity;
        lookAngle = Mathf.Clamp(lookAngle, -LookAngleLimit, LookAngleLimit);


        mainCamera.transform.localRotation = Quaternion.Euler(lookAngle, 0, 0);
        transform.rotation *= Quaternion.Euler(0, mouseDelta.x * LookSensitivity, 0);
    }
}

r/Unity3D • • 20h ago

Game Rocket League in Unity

Thumbnail
youtube.com
0 Upvotes

A personal project I've been working on just to have fun tinkering with new things I can do with rocket league physics, it has been made in a similar way to other rocket league like games that have come recently, using the RocketSim library made by ZealanL, oh btw this is made in unity and I've used AI a bit for speeding up coding but I am a game developer so its not fully vibecoded.
If you have some suggestions for cool features then please tell me, thanks!