Unity: 2D Platform Upgrade

  Рет қаралды 4,148

Root Games

Root Games

2 жыл бұрын

Upgrade your platform behavior and avoid common mistakes with just one line of code.
Here you can watch how to make a 2D moving platform:
✅ • Unity: 2D Moving Platf...
✅ Get my courses with discount:
👉 Unity 2D Master: www.udemy.com/course/unity2dm...
👉 Unity Mobile Course: www.udemy.com/course/unitymob...
👉 Unity Input System with Rebinding: www.udemy.com/course/unity-in...
👍 Save your time and learn Unity faster
-------------------------------------------------------
🔔 Subscribe for more awesome content:
🔴 / @rootgames
-------------------------------------------------------
🟡 Support this channel through donations
Any amount means a lot and will help grow the channel:
👉 PayPal: www.paypal.com/paypalme/rootg...
-------------------------------------------------------
Social Networks:
⭐ Instagram: / rootgamesofficial
⭐ Twitter: / rootgamescro
⭐ TikTok: www.tiktok.com/@rootgamesoffi...
⭐ Facebook: / root-games-10337038860...
-------------------------------------------------------
#unity2d #unityplatform #unity2dplatform #rootgames

Пікірлер: 11
@RootGames
@RootGames 9 ай бұрын
✅ Get my courses with discount: 👉 Unity 2D Master: www.udemy.com/course/unity2dmaster/?couponCode=NEW-MASTER-APRIL 👉 Unity Mobile Course: www.udemy.com/course/unitymobilecourse/?couponCode=NEW-MOBILE-APRIL 👉 Unity Input System with Rebinding: www.udemy.com/course/unity-input-system-rebind/?couponCode=NEW-INPUT-APRIL
@lohnthom2598
@lohnthom2598 3 ай бұрын
Oh man, thank you! I was trying so many different things to fix this issue! I actually tried this but didn't subtract enough of a value from y. I also tried using the contact.normal.y, which gives the direction of the collision. If it's less than or equal to zero, it means the collision is from the side or below. I'm still not sure why that method didn't work but I'm just happy I can move onto other things for now.
@RootGames
@RootGames 3 ай бұрын
Glad this helped you!
@BazSupport
@BazSupport 2 жыл бұрын
Very useful tip!
@RootGames
@RootGames 2 жыл бұрын
Glad it was helpful! 🙂
@RenzohGG
@RenzohGG 2 жыл бұрын
😉 Muy util!
@josesouto6234
@josesouto6234 2 жыл бұрын
How do I keep the original scale even after making it a child?
@RootGames
@RootGames 2 жыл бұрын
Try to multiply/divide your transform scale when the player jumps on/off the platform(or have the scale on 1 for both, the player and platform)
@nahnot6247
@nahnot6247 9 ай бұрын
i cant jump from my platform. Someone pls help
@Skatemonkey
@Skatemonkey 7 ай бұрын
If you have a isGrounded check or something like that to allow your player to jump, the solution might be as simple as giving the platform the same tag as your ground objects.
@burhantheon
@burhantheon Жыл бұрын
Why you didn't use mathf.pingPong
Unity: Screen Shake in 4 minutes (No code required)
4:24
Root Games
Рет қаралды 3,5 М.
Unity 2D Advanced MOVING PLATFORM | Unity 2D Platformer Tutorial #5
12:49
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 41 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 55 МЛН
SCRIPTABLE OBJECTS and EVENTS in Unity
6:46
Root Games
Рет қаралды 2,9 М.
Moving Platforms -  2D Platformer Unity #21
5:53
Game Code Library
Рет қаралды 478
Simple Skill Tree in Unity (Unlock Abilities, Talents)
25:53
Code Monkey
Рет қаралды 77 М.
How To Pick Up an Item - Unity
8:58
Gunzz
Рет қаралды 32 М.
A Great Way To Setup POWERUPS In Your Unity Game
13:43
BEST Royalty-Free Assets for Game Development
4:39
samyam
Рет қаралды 26 М.
Moving Platforms in unity2D (Unity platformer tutorial)
10:11
GamePlus | The alchemist
Рет қаралды 856
MOVING PLATFORM  2D | How to make moving platform in Unity ?
6:01
Rehope Games
Рет қаралды 13 М.
HOW TO MAKE A WORKING 2D MOVING PLATFORM-Unity Tutorial
11:36
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 41 МЛН