
How to fix snagging issue in Unity? - Stack Overflow
Jan 3, 2024 · In Unity 2D, a sliding GameObject (my player in my platform game) will sometimes get stuck on the edge between two BoxCollider2D next to each other. Within a tilemap, this …
Unity 2D following the enemy behind the player, avoiding obstacles
Oct 20, 2024 · Unity 2D following the enemy behind the player, avoiding obstacles Asked 1 year, 2 months ago Modified 1 year, 2 months ago Viewed 235 times
How to move 2D Object with WASD in Unity - Stack Overflow
Oct 16, 2017 · How to move 2D Object with WASD in Unity Asked 8 years, 2 months ago Modified 1 year, 1 month ago Viewed 66k times
c# - Unity camera follows player script - Stack Overflow
Jan 20, 2021 · I'm pretty new to Unity. I tried to create a script that the camera would follow the actor (with a little difference). Is there a way to improve the code? It works just fine. But I …
Unity 2D: Alter sprite anchor point - Stack Overflow
Jun 14, 2022 · I've got a plain 2D Capsule Sprite. I want it to rotate around a specific point instead of its very centre. In other programs, this point is called the anchor point. For context, I'm …
Unity C# Script Moving a character 2D - Stack Overflow
Mar 28, 2015 · Unity C# Script Moving a character 2D Asked 10 years, 9 months ago Modified 2 years, 7 months ago Viewed 35k times
How do i make my player move with a moving platform in unity 2d
Dec 17, 2022 · I'm making a 2D platformer and decided to add sticky platforms. I've made the platforms move, but the player doesn't move with them. However, after parenting the player to …
c# - horizontal movement in Unity - Stack Overflow
I'm very new in Unity and I'm trying to move a simple square on a classic 2D map (Super Mario like). I use addForce to jump, it goes as planned. But now, I'm trying to move my character …
Game Object Appears in Scene View but not in Game View
Feb 10, 2021 · 0 Make sure that your instantiated object or the object making the instantiations is not behind the camera. Check this by clicking scene view while your game is running and then …
Flipping a 2D Sprite Animation in Unity 2D - Stack Overflow
Oct 26, 2014 · I've got a quick question regarding 2D Sprite animations that I haven't been able to find specifically answered anywhere: I have a sprite with walk animations to the right. …