ONE WAY COLLISION PLATFORMS - EASY UNITY TUTORIAL

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 174

  • @kiryuutougasama
    @kiryuutougasama 6 років тому +137

    A little late to the party here. Instead of rotating the effector 180 degrees, wouldn't it be better to use a collider mask while down arrow is held? Kind of an edge case, but if you jump while holding down, rather than jumping through it then falling back down through it, you'd bump your head on the platform you can usually jump through. Rigidbody enemies will also fall through the platforms when down is held by rotating the effector.

    • @tuilaongquan8109
      @tuilaongquan8109 5 років тому

      It might work, seem logical to me

    • @jakobostermann9869
      @jakobostermann9869 4 роки тому +5

      Another solution for this problem (except of the enemys) is to rotate the effector in a courutine and then wait for a time, for example 0.5 sec. before u rotate it back. If u keep the if-statement thst rotates the effecor if u jump u can get through the platform from downside even before the time of the coroutine runs out. But enemys will still fall through it so its not perfect but quite simple.

    • @fernandobuenolopes
      @fernandobuenolopes 4 роки тому

      Works great

    • @Domenic367
      @Domenic367 3 роки тому +3

      my solution was I applied a platform controller on my PLAYER , so the script changed the players collisions rather than the platforms collisions.

    • @SMT-ks8yp
      @SMT-ks8yp 3 роки тому +2

      @@Domenic367I can't make IgnoreCollision work so I just change the effector's colliderMask. Anyway better that rotation lmao.

  • @dreamisover9813
    @dreamisover9813 6 років тому +14

    Really great tutorial! I didn't know about the effector component.
    One thing I want to mention, I can see that the tutorials are more targeted to beginners or intended to use Unity out-of-the-box solution. I think that is a great target audience, but as with many out of the box solutions, there might be things that do not instantly work the way you intend them to.
    For example: This solution only works if there is one player in the game. If there are 2 players, the other player would collide with the platform when jumping up while the other player is dropping down the platform.
    As I am also making a game with similar mechanics, I just deactivate the collision between a single player and the one way platform when the player is moving up (y velocity > 0) and enable it as the character is moving down (y velocity

    • @Blackthornprod
      @Blackthornprod  6 років тому

      Hey :) ! True enough with two players this solution as its problems ! Sounds like a nice solution you came up with though ! Best of luck for your project :)

    • @dreamisover9813
      @dreamisover9813 6 років тому

      Thanks! And also good luck for your channel. Looking forward to the rest of the platformer tutorials.

    • @FreakyFeet
      @FreakyFeet 6 років тому

      I have made another solution in case you are interested in checking it out on my page.

    • @syfenw6586
      @syfenw6586 6 років тому

      I have a question/problem. So every time you press the down arrow, the collision will be flipped. When the player has jumped on top of the one way collision platform, and walks on the normal platform and presses down arrow. The collision will be flipped..... and if the player walks on the one way platform he will just fall through it. Any good solution?

    • @MrGeejayz
      @MrGeejayz 6 років тому +1

      Hi c, I realised this also. This will also be a problem if you have prefabs as pressing down on one platform would flip the rotation on all of them. To resolve, I think you need to check that your player on this particular platform and then check if they are pressing down. I did this with an OnTriggerStay2D method
      private void OnTriggerStay2D(Collider2D other) {
      if(other.name == "Player") { //Player is on the platform
      if(CrossPlatformInputManager.GetAxisRaw("Vertical") < 0) {
      //Player must be pressing down
      effector.rotationalOffset = 180;
      }
      }
      }
      The next tricky part is deciding when to return the rotationalOffset back to 0. Either by a wait time or by ensuring the player is no longer in the collider and player is pressing up perhaps (I'm still coding this part :) )
      This was a really good video though and despite watching several Udemy courses no one mentioned effectors.

  • @unofficialSummer
    @unofficialSummer 4 роки тому +6

    *A few solutions for your concerns or problems you're already facing with your game project*
    - For anyone concerned with enemies or objects falling: I duplicated the object and changed the Platform Effector>Collider Mask to everything besides the player on the child, and on the parent I did the other way around. Remember to only put your script related to the player on the Game Object related to the collision with the player.
    -In case you believe that the player will be able to press down and jump at the same time, and getting blocked on the bottom of the platform: Based on the script from the video you can change some parts of that and move it from update to a OnCollisionStay2D, and then adding a condition that compares the Y position of the platform to the player. The player might still face a few problems so, unless you go and find a way of getting the Y position of the player from the bottom, a kinda risky workaround would be to add a -1(or more, it depends on how is your project right now) to the player Y position condition so that the comparison would end up like " playerposition.Y -1 > playformposition.Y"
    -Instead of using 180 on the Surface Arc, try something like 100, in case you want the player to be able to get on the platform from a diagonal angle.
    Good luck with your scripts/projects

    • @xmegalatiosx5213
      @xmegalatiosx5213 2 роки тому

      thx bro! But i still have a problem: i have multiple game objects with the same mask above the plataform, and i want to drop only one at a time

  • @Atomic-Potato
    @Atomic-Potato 4 роки тому +5

    Guys there is a little problem with the code, and that is it only resets when you press space and for example what if there was 2 platforms under each other, then the player will keep falling, but i fixed it
    private PlatformEffector2D effector;
    // For flipping the collider rotation
    private float buttonHoldTime;
    //For reseting the platform collider rotation
    public float rotationResetTime = 0.5f;
    private bool rotationIsFlipped = false;
    void Start()
    {
    effector = GetComponent();
    }
    void Update()
    {
    if (Input.GetKey(KeyCode.S))
    {
    buttonHoldTime -= Time.deltaTime; //We start the timer (while holding the key) which i made small so it seems instant and not when holding
    if (buttonHoldTime

  • @ridlr9299
    @ridlr9299 3 роки тому +2

    I did it a bit differently, and it seems to solve a few bugs I was having, namely with ground and ceiling detection from my player and the weird pushing up and down that happens to the player when they pass through the platform. This is how I did it:
    [RequireComponent(typeof(BoxCollider2D))]
    public class OneWayPlatform : MonoBehaviour
    {
    new BoxCollider2D collider;
    float top;
    float timeSinceDropThrough = 1f;
    void Awake()
    {
    collider = GetComponent();
    top = transform.position.y + collider.offset.y + collider.size.y * 0.5f;
    }
    void Update()
    {
    if (GameInput.GetAxis("Vertical") == -1f && GameInput.GetKeyDown("Jump") && Player.Instance.groundCheck.position.y >= top)
    {
    collider.isTrigger = true;
    timeSinceDropThrough = 0f;
    }
    else if (Player.Instance.groundCheck.position.y >= top && timeSinceDropThrough > 0.1f)
    {
    collider.isTrigger = false;
    }
    else
    {
    collider.isTrigger = true;
    }
    timeSinceDropThrough += Time.deltaTime;
    }
    }
    Hope that helps! If you have any questions feel free to ask.

  • @damdakos
    @damdakos 6 років тому +3

    I found you yesterday and I am impressed. I like the short videos and all the relevant information. Keep it up! Great work dude

    • @Blackthornprod
      @Blackthornprod  6 років тому

      Thanks so much for the support, I'm really glad you like my content !

  • @Gatene
    @Gatene 3 роки тому

    I liked your delivery of the information. I was looking for this topic, but for 3D, so I couldn't use the information. However, the information was still useful. Thanks for making it.

  • @thespontaneoustomato2676
    @thespontaneoustomato2676 4 роки тому +6

    here's an idea:
    Give the platform a tag. Check so that whenever the player is colliding with this tag and presses the Down Arrow Key, he waits for half a second, and then his collider is disabled for a quarter second which will cause him to fall. Then enable it a quarter second later (Note that you should probably try experimenting with how long the wait until your collider is re-enabled, as it might cause some bugs in some cases for example the player's collider is re-enabled while he is inside another collider)

  • @beaverjoe9171
    @beaverjoe9171 6 років тому +4

    I love your painting style and the 2D coding tutorial

  • @AlexanderZotov
    @AlexanderZotov 6 років тому +32

    Great one, buddy)

  • @pixelsoupgames
    @pixelsoupgames 2 роки тому

    Awesome, I did not know about the effector component. Thanks

  • @MattBee2k2
    @MattBee2k2 6 років тому +1

    You are unbelievable at creating lovely scenes with such simple art. I think one of my favourite things about all your games are their art style. Good job man, great content.

  • @TechBoxNorth
    @TechBoxNorth 6 років тому +9

    Great video! Unfortunately the method of offsetting the platform effector by 180 degrees is useless since enemies will fall through it as well. Can it be done in a better way?

    • @ShockingRotom
      @ShockingRotom 5 років тому

      MonDieu72 I am a beginner but I imagine that it would work if you put two of the same objects except take off the script for falling through the platform

  • @jay7548
    @jay7548 4 роки тому +1

    You sir, are a fish! A beautiful fish. great video!

  • @bunggo9914
    @bunggo9914 6 років тому +4

    this new series looks fascinating! can't wait to see more...

  • @rokiranjani
    @rokiranjani 5 років тому +3

    In my case, it works perfectly if I set the waitTime = 0.01 somehow. When I set waitTime = 0.05, the player can not past through the object for the second time. Somehow, it works

  • @Christina_Nguyen
    @Christina_Nguyen 2 роки тому

    So grateful to find this video!! Thank uu

  • @geedw
    @geedw 4 роки тому

    Was wondering how to implement falling down of a platform and you helped a lot with this tutorial

  • @dennisgonzales9521
    @dennisgonzales9521 5 років тому +6

    Thanks! This is exactly what I need in my moving platform object!

  • @gav_m5
    @gav_m5 6 років тому +30

    *coding your own game is easier than you think!*

    • @TotatoC
      @TotatoC 5 років тому +7

      *You know, you should take this online Unity course on Udemy*

    • @MesaTheAalfa
      @MesaTheAalfa 5 років тому +1

      Lol dat add

    • @8Blits
      @8Blits 4 роки тому

      Thats funny

  • @specialgorilla
    @specialgorilla 4 роки тому

    now THIS is what I needed, a simple, to the point tutorial

  • @Aboqamel
    @Aboqamel 6 років тому +1

    thanks for the great tutorial Noa , i did not clearly understand the point of making "WaitTime" i simply ignored it and everything works fine .

    • @Blackthornprod
      @Blackthornprod  6 років тому +2

      Thanks Hasson :) ! That's just to make sure the player doesn't accidentally press the down arrow and straight away go down (which can be a little annoying), instead he as to wait a little (so we're sure he's really wanting to go down). But sure enough it's purely optional :) !

    • @Aboqamel
      @Aboqamel 6 років тому

      now i got it , thanks Noa

  • @arnaques-tuto-informatique
    @arnaques-tuto-informatique 3 роки тому

    hello from french;
    thank you for solution, is very simply and powerfull !!

  • @BimzyDev
    @BimzyDev 3 роки тому

    Great tutorial! I like that you keep them short 😀

  • @doublesystem9790
    @doublesystem9790 6 років тому

    Yay, new series! Could you next do a plataform that desappears after standing on it and reappears after 10 seconds or something? That would be really great

    • @Blackthornprod
      @Blackthornprod  6 років тому

      That could be a nice little video to add to the series :) ! Thanks for the idea !

    • @Benjackalope
      @Benjackalope 5 років тому

      I know this is a little late, but you prolly just need to create a script for the platform, in a parent perhaps, but use the script to detect wether or not the player is standing on the platform via colliders. If he is start a timer and disable the child obj, the platform, after 10 seconds. Then tell it to reappear after 10 seconds the player leaves the collider... or whatever the time frames and conditions you want it to be.

  • @tt128556
    @tt128556 3 роки тому

    So much better than all the raycastings and tags etc one finds on the internet and has no way of implementing as a newbie. Thanks!

  • @SamuraiExecutivo
    @SamuraiExecutivo 3 роки тому

    Such a beautfull video! Quickly, clear and direct

  • @julianlanty2066
    @julianlanty2066 3 роки тому +1

    great video, the way you use the {} symbols hurts my soul but the tutorial was great thanks

  • @burningshade2393
    @burningshade2393 5 років тому

    i found some other guy going on about layers and things this is much simple ty

    • @n7pankake236
      @n7pankake236 4 роки тому

      Layer is the correct way if you do this and you set up an enemy in a platform and you hold Down guess what will happen? yes the enemy will go down not only to mention that this is happening on every single platform

  • @rishabhjain1056
    @rishabhjain1056 6 років тому +1

    Thanks, I was in need of this and found this video in one go.

  • @FowlArtemis2nd
    @FowlArtemis2nd 6 років тому +2

    Noa, what about making it so that your player can drop through the platform, but not any enemies that are standing on it?

  • @agunngamesstudios9728
    @agunngamesstudios9728 6 років тому

    My new game problem solved ..... Loved the video

  • @samirnasri3360
    @samirnasri3360 5 років тому +1

    short and relevan great bless you buddy

  • @kevinlong5104
    @kevinlong5104 3 роки тому

    Amazing tutorial my friend!! Exactly all that I needed with very clear instructions. Thank you so much you are my hero!!!

  • @LivanderGamedev
    @LivanderGamedev 4 роки тому

    i use this method but the enemy also affected and goes below the platform after i go below the platform by using down arrow key, can anyone help?

  • @maizestarcan
    @maizestarcan Рік тому

    the solution work perfectly. but, can you teach me to give timer when player after press down button, timer goes off and turn the collision back to 0? thanks!

  • @javaexpertsa8947
    @javaexpertsa8947 6 років тому

    I would love to see more animation videos. Like a animation, when the player takes something from the ground.

    • @Blackthornprod
      @Blackthornprod  6 років тому +1

      More animation/art related videos will come out on the channel in the future, you can count on me :) !

  • @ayjay5157
    @ayjay5157 4 роки тому

    YOU ARE THE GOAT BRO! THANK YOU

  • @Gudies
    @Gudies 2 роки тому +1

    if someone got a strange bug where you could not go down the platform the second time it
    Here is the fixed code
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class VerticalPlatform : MonoBehaviour
    {
    public float waitTime;
    public PlatformEffector2D effector;
    void Start()
    {
    effector = GetComponent();
    }
    private void Update()
    {
    if(Input.GetKeyUp(KeyCode.S))
    {
    waitTime = 0f; //this is where the bug was you had to replace it from 0.5f to 0
    }
    if(Input.GetKeyDown(KeyCode.S))
    {
    if(waitTime

  • @gaerex1334
    @gaerex1334 5 років тому

    Thank you so much for this video ❤❤❤ now I can complete my pletformer

  • @KnightLenny
    @KnightLenny 3 роки тому

    Cool, but change the rotational offset won't will make the enemy also fall from the platform?

  • @lemon_maho
    @lemon_maho 4 роки тому

    i was searching for this and ya yeet ofc @Blackthornprod got a solution for it

  • @Domenic367
    @Domenic367 3 роки тому

    Enemies falling through the platform too? My solution was to apply the script and platform effector to the player I want. This was it changes the player's colliders rather than the whole platform. Note, this lets the player go through ALL colliders though.

  • @UP_SMASH
    @UP_SMASH 6 років тому

    Good vid. But, I have a green collider box that wont go away and it seems to block from all sides. Followed the tutorial exactly, but this green box is attached to the new component. Making it impossible to pass through. How do I fix it?

    • @thegamingcobra1
      @thegamingcobra1 6 років тому

      Have you tried ticking the 'Use By effector' box?

  • @gilfredyacevedo8129
    @gilfredyacevedo8129 5 років тому

    Great video but do you know it there’s a like instead of using keycode down is there a to input it with an axis to a certain direction please keep in mind I’m using the windows version so the d pad is not a separate button at all

  • @DawnosaurDev
    @DawnosaurDev 6 років тому +3

    Could you please do a video on a 2D Shooter please
    Thanks love your videos and Great series idea!

    • @Blackthornprod
      @Blackthornprod  6 років тому +1

      A top down 2D shooter will most probably be a series I'll be making in the future :) ! Stay tuned and thanks for the feedback !

  • @tristancowen5636
    @tristancowen5636 6 років тому +3

    Looks so cool. keep up the good work :)

  • @ApexArtistX
    @ApexArtistX 5 років тому

    As an 8 Bit gamer this going down platform should be hold "down key + jump key" thats the standard. and please use GetButtonDown("Jump") instead of getKeyCode. its universal

    • @MontzyYT
      @MontzyYT 4 роки тому

      Can you explain further pls!

  • @mr_donutz
    @mr_donutz 5 років тому +1

    you're doing a great job! keep it up!

  • @reywasgrey
    @reywasgrey 6 років тому +1

    Very nice tutorial 👍👍👍👍👍😘

  • @dcry1003
    @dcry1003 2 роки тому

    how can you add this in a tile map collider? and is there a tutorial on how to add different behaviors to a single time map/platform?

  • @aaronwise1089
    @aaronwise1089 4 роки тому

    Tutorial on using bolt to do this please?
    Where can I get the asset for the 2d platform effect and how much does it cost?

  • @Pwegoable
    @Pwegoable 6 років тому

    Ive been stuck trying to do this with an angle not flat

  • @ManjeetKumar-xk8jf
    @ManjeetKumar-xk8jf 6 років тому +2

    Awesome tutorial.

  • @AevenIridescent
    @AevenIridescent 5 років тому +1

    Kinda late but, It's not a great solution to the problem:
    1. Only works with 2d games, or atleast 2d collisions
    2. Is not very scalable, at least this implementation where you have the platform read the player input, this can cause issues
    It would be best to use layer masks.
    You'd have 4 layers, grounded and airborne, for the player, and ground and trasnparent, for the terrain.
    You go into the physics settings and set the grounded layer to collider with both terrains, and the airborne to collide only with ground.
    Then all you gotta do is change the player's layer acordingly
    This way when you're grounded the player will collide with everything and you can walk no problem in the transparent objects, but when you're airborne no collision will happen between the player and the transparent objects, you just gotta make sure that you're airbone only on the rise of the jump, not the fall, and you can make the player airborne while holding the down key to fall through the transparent objects.
    With some ingenuity this can be applied in all sorts of diferent ways to create diverse mechanics, like a shooter where you phase between dimentions to pass through walls and avoid bullets or some other crazy thing.

    • @touzimsky
      @touzimsky 5 років тому

      Maybe late, but just in time for me. :-D Great solution!

    • @AevenIridescent
      @AevenIridescent 5 років тому

      @@touzimsky glad i could help

  • @nGsAngel
    @nGsAngel 6 років тому

    Hello blackthorn ! I wanted to know if you had any idea what's happening in my pseudo-mini-game. I did everything like you but when I maintain the up arrow pressed, my character sprite seems to be "pushed" up by the vertical platform. Do you have any idea why that happens.. ?
    Thank you for the tuts, it's great !

  • @THIB3
    @THIB3 5 років тому

    You never finished your expectations... Luv the vid tho

  • @Old_SDC
    @Old_SDC 3 роки тому +1

    I’m getting the error:
    Assets\scripts\VerticalPlatform.cs(23,26): error CS1061: ‘PlatformEffector2D’ does not contain a definition for ‘rotationaloffset’ and no accessible extension method ‘rotationaloffset’ accepting a first argument of type ‘PlatformEffector2D’ could be found (are you missing a using directive or an assembly reference?)

  • @quinnnye4204
    @quinnnye4204 5 років тому +1

    Got a question. I only want to know when I collide with the top side of the collider. But when I use entercollison2d I get a collision when I go through the bottom on the box collider. Any suggestions?

  • @doublepickaxeyt3400
    @doublepickaxeyt3400 3 роки тому

    Thanks!

  • @alexandreunity
    @alexandreunity 4 роки тому +2

    Heey! Hi Noa xD ! Great Tutorial!! But.. How can i Make this effect to work in just a player? In this case of the video, everything thats are in the colission with platform will faliing down when press ArrowDown :v

    • @redwane2431
      @redwane2431 4 роки тому

      did you find a way to solve that?

    • @alexandreunity
      @alexandreunity 4 роки тому +1

      @@redwane2431 not yet :v

    • @redwane2431
      @redwane2431 4 роки тому

      @@alexandreunity to bad doing my best and can't find this is my facebook lets talk if we can help each other facebook.com/radhouaneouu/

    • @ahmedbyahmed4405
      @ahmedbyahmed4405 4 роки тому +1

      I think that you should creat a layer especially for this player and turn the collider mask into the layer that you creat

    • @alexandreunity
      @alexandreunity 4 роки тому

      @@ahmedbyahmed4405 Can Works xD! But... If you have more than one player in scene?

  • @NelsonZavala0509
    @NelsonZavala0509 4 роки тому

    Hey Hello Man, hey this tutorial its great Thanks a lot, but is there a way to do this using the new tiles system in Unity?

  • @TheSakizu
    @TheSakizu 5 років тому

    Great video, I have used your tutorial and added a platform effector on my tilemap which contains a platform. The thing is that when my character moves down the sprite moves left and right before returning to its normal position. I have added a compositie collider to the tilemap already. Is there a fix for this?

  • @henryjohn6244
    @henryjohn6244 6 років тому

    Thanks for your video .

  • @slussgame222
    @slussgame222 3 роки тому

    After reading some of the comments I decided to instead just use Physics2D.OverlapCircleAll with the ground check to find the platform(s) that are being stood on, and if it is a one way platform, I used Physics2D.IgnoreCollision with the player's Collider2D to ignore collisions, I set the collisions back to normal once the player's Y velocity is > 0. Decided to post this here just incase anyone else would find this useful. If you have any questions or want the code I used just ask.

  • @ShadowPianoProductions
    @ShadowPianoProductions 3 роки тому

    My ladder feels a bit slippery, and the Physics Materials don't seem to do anything, how do I make it so that it's not so slippery?

  • @MLaurenavicius
    @MLaurenavicius 3 роки тому

    Could you make a version using the player input system?

  • @zubrach5931
    @zubrach5931 3 роки тому

    and I thought of a trigerr box collider in the bottom of the platoform that disables, the box collider when the player touches it and when you press the down key u disable the box collider again.

  • @valentinkadushkin324
    @valentinkadushkin324 2 роки тому

    If you have several platforms one after another (vertically) the player will fall trough them all. How can you fix so that he fall through the first but hit the next one.

  • @muhammadhasansiddiqui6017
    @muhammadhasansiddiqui6017 6 років тому

    so you will be editing every platform every time you jump ??

  • @DeaconMofoJones
    @DeaconMofoJones 4 роки тому +3

    is there any way to use the platform effector for each, individual tile in a tilemap? I'm trying to setup a way to easily plop down tiles that are platforms. So far I have combined the tilemap collider 2d, composite collider 2d, and the platform effector 2d. I expected each tile in the tilemap to have a platform of its own, but in reality the effector 2d generated a single platform for the tilemap which was positioned at the center of the tilemap.

  • @n7pankake236
    @n7pankake236 4 роки тому

    Layer is the correct way if you do this and you set up an enemy in a platform and you hold Down guess what will happen? yes the enemy will go down not only to mention that this is happening on every single platform...

  • @JohnWeland
    @JohnWeland 5 років тому

    I know this is a bit old. But I wonder how to make this work with a tile palette and composite collider...

  • @FinnishEngineer
    @FinnishEngineer 4 роки тому

    i didnt know it was so simple XD

  • @geraldmcauley_
    @geraldmcauley_ 6 років тому

    Nice tutorial, be handy if you provide the assets for beginners, I know theyre very basic and can be created in a few seconds

  • @thomasjensen9581
    @thomasjensen9581 6 років тому

    hey BlackThornProd, after watching this video i wanted to try this feature out, and well it works fine when i have to go up through the collider and it also switches after half a second to go down, the thing is that i dont go down even though the half circle clearly shows that the collider turned around, i have to leave the surface of the one way collider and then come back for it to work, any idea why? help is much appriciated!

  • @tejaschalke1778
    @tejaschalke1778 6 років тому

    Great as always 😄😄 !!

  • @edwinchew5819
    @edwinchew5819 4 роки тому

    i follow the code exactly, but nothing happens when I hold down key,. Is there any difference in GetKey, GetButton and GetAxis? Can I use GetKey("Down") instead of GetKey(KeyCode.DownArrow) ?

  • @humberto9811
    @humberto9811 5 років тому +1

    Hi, i was wondering how do u use the platform effector with tilemaps?

    • @Claaaaaaaaws
      @Claaaaaaaaws 5 років тому

      Tilemap collider 2 and tick used by effector

  • @17absolut
    @17absolut 5 років тому

    I want my player to fall form the platform without sinkin in it first. Just straight phase through when I press the down arrow. Help a brutha out.

  • @imvincible1391
    @imvincible1391 4 роки тому

    Ummm this might seem a little weird but when my character jump through the platform they cant move when they land on the platform. Any tips?

  • @imaginationcentral6406
    @imaginationcentral6406 5 років тому +3

    The problem with this, is when you press down and go through the platform you can't jump up through it again.

  • @AmmarTee
    @AmmarTee 5 років тому

    Thank you

  • @mattice9083
    @mattice9083 5 років тому

    whatif you use this with a 2d fighter? are the players going to keep flipping it on each other?

  • @gamoe
    @gamoe 2 роки тому

    thanks you

  • @zigzagblade
    @zigzagblade 4 роки тому

    and if i want to place an Platform Effector 2D inside the composite Collider 2D of a tilemap?

  • @arashsh4513
    @arashsh4513 6 років тому

    awsome tutorial thanks. i have a question, when my character stand on a moving platform verticaly, my character shaky and falling! please help me.sorry for my bad english

    • @gaerex1334
      @gaerex1334 5 років тому

      Go in your Rigidbody2D component and in there set "Collision Detection" as "Continuous" it will fix that

  • @xengaming7892
    @xengaming7892 6 років тому

    WE WANT MORE !!!

    • @Blackthornprod
      @Blackthornprod  6 років тому

      And more will come :) ! I've been doing the Ludum Dare 41 game jam so expect a behind the scenes vid coming soon, and then back to game dev tutorials !

  • @andremyszko
    @andremyszko 5 років тому

    man, u are like.. God, thx!

  • @diegobrando5141
    @diegobrando5141 5 років тому

    I love you guy, thanks

  • @alversonsabuero770
    @alversonsabuero770 4 роки тому

    I can get through the terrain from below but i can't fall down from it even though i have the code now, how do i fix this?

  • @mohamadjazman9239
    @mohamadjazman9239 5 років тому +3

    does this way working with 3d game

  • @tavindersingh8185
    @tavindersingh8185 5 років тому

    Can you tell me that how can I use platformeffector2d to pass through the platform and still perform one way jump

  • @MonoSixPlus16
    @MonoSixPlus16 5 років тому

    thank you so much

  • @lukedwsn
    @lukedwsn 5 років тому

    How do you get the animated background shown in the video?

  • @marvin1620
    @marvin1620 6 років тому

    I dont want to collide with the platform when I Jump from the side and from below. What can I do?

  • @yugioh-furkan-4508
    @yugioh-furkan-4508 5 років тому

    Thanks a lot :)

  • @motorparadise
    @motorparadise 4 роки тому

    how to make moving background as yours?

  • @peterparkour2918
    @peterparkour2918 3 роки тому

    Anyone else have trouble jumping up smoothly, instead of jumping straight through, it goes to the side or skips frames?

  • @h3rinnegankakashi345
    @h3rinnegankakashi345 5 років тому +1

    Watch at 1.25speed