python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Unity 2D URP Light: How do I prevent that an object is affected by self shadow of another object
I'm trying to recreate my old 2D top down game (developed with Monogame) in Unity.
For lighting, there is now a usable 2D light (URP) that casts shadows based on the light source in relation to a poly...
moo.h
Votes: 0
Answers: 0
Jump functionality for a 2D Top Down Unity game?
I am struggling to find an efficient way to let my player jump in a 2D Top Down world. I can see a lot of tutorials about platformer views where the camera is oriented at the side of the player, but n...

bre_dev
Votes: 0
Answers: 1
Operator '-' is ambiguous on operands of type 'Vector2' and 'Vector3'
target = transform.GetComponent<Camera>().ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, transform.position.z));
crosshairs.transform.position = new Vector2(target....
Chopper
Votes: 0
Answers: 1
addforce moving diagonally faster
I am still a novice with Unity and am trying to make a top down 2D game and am stuck with the movement script where the movement is faster when I move diagonally. When I use normalized on the "ax...

Yami
Votes: 0
Answers: 1