r/Unity3D – Telegram
r/Unity3D
264 subscribers
12.6K photos
15.6K videos
14 files
48K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
How to tell if the 2D space is full?

I encountered a problem and asked for help. Suppose I have a 2D desktop with some objects placed on it, which may be circles, capsules, etc. They can be dragged and placed irregularly but cannot overlap. When I get a new I want to place an object on the table. How can I tell if the table has enough space to accommodate it, or if the table space is already full?

https://redd.it/1hca9rm
@r_Unity3D
How to remind myself when i have to call base when overriding and when it's just to replace a behaviour or im doing it wrong?

for example Awake() when the parent and children both have variables to set i need to remember to call base

but if i make a weapon reload virtual function it doesn't require calling base, but it's not necessary to implement it neither if i don't want the weapon to reload

https://redd.it/1hcatzy
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Made a noscript for slicing meshes that I thought looked pretty cool

https://redd.it/1hc7yjo
@r_Unity3D
CaptureScreenshot not updating in our game!

Our game uses a system where it takes a screenshot of a finished food item to show the player what they made when they deliver it out to a customer! However, we've run into an issue where in the build, not the editor, the screenshot does not seem to update. It works perfectly fine in the editor, however. Any potential fixes to this problem? Thank you!

https://redd.it/1hcetxn
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
In our game, there are mini-puzzle games. Similar to Goose Goose Duck, players play mini-games during the day to obtain clues. I'm brainstorming other puzzle ideas with a similar vibe. Would it be better to add more challenging puzzles or to include a lot of easier puzzles?
https://redd.it/1hcepaz
@r_Unity3D
pls help i need help asap

# can anyone help me write a code?

so basically im making a 2d topdown game and i need a movement code can anyone help mine isnt working i used this video https://youtu.be/ongCws4gs5A?si=yXxHz6mZxkcSoWXI and this is the code

using UnityEngine;

public class TopDownPlayerMovement : MonoBehaviour
{
    public float moveSpeed = 5f;    

    private Vector2 moveInput;      
    private Vector2 movement;        

    void Update()
    {
        moveInput.x = Input.GetAxisRaw("Horizontal");
        moveInput.y = Input.GetAxisRaw("Vertical");  
        if (moveInput.magnitude > 1)
        {
            moveInput.Normalize();
        }

        movement = moveInput moveSpeed;
     
        transform.Translate(movement
Time.deltaTime, Space.World);
    }
}

https://redd.it/1hcgyw9
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Universal Gravitation with 50k objects in Unity. Optimized with GPU compute shader's calculations + indirect GPU instancing

https://redd.it/1hch5rt
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
I released my first Asset about Insect Simulations (Free codes on Desc)

https://redd.it/1hcjgbu
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
New blink / talk animation and voice. Before or after voice? Sound on

https://redd.it/1hckfto
@r_Unity3D
Defender's Dynasty, From a Simple Tutorial to a Full-Fledged Game. First Game, a Journey Through Iterations, Refinements and Creativity!
https://redd.it/1hcn45o
@r_Unity3D