Unreal C++ Tutorial | How to make a Door

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 18

  • @GeorgePence
    @GeorgePence 2 ปีที่แล้ว +7

    Great tutorial. You covered a lot of useful info in a really efficient manner.

  • @forjigabyte
    @forjigabyte 15 วันที่ผ่านมา

    I can’t find the option to enable and assign the curve to my actor. Please help 😭

  • @z1zzz
    @z1zzz 2 ปีที่แล้ว +2

    Very useful tutorial with detailed explanations of math and vectors👍

    • @SugimuraKaito
      @SugimuraKaito  2 ปีที่แล้ว

      Thank you, I'm glad it helped!

  • @JPayce
    @JPayce 7 หลายเดือนก่อน +1

    To keep the timeline ticking,
    We can add tick timeline
    With delta time
    In the tick function.
    🔥🔥🔥🔥

  • @cryptyyy_7667
    @cryptyyy_7667 ปีที่แล้ว +1

    Do I need to make a character in c++ to follow this tutorial? I currently only have a character in blueprint.

  • @therealpfloder4730
    @therealpfloder4730 3 หลายเดือนก่อน

    You mentioned in your description to go onto the info panel(in the BP editor) and look for the curve float variable but i dont have those do you now a fix?

    • @fatimo4k
      @fatimo4k หลายเดือนก่อน

      go to class defaults

    • @forjigabyte
      @forjigabyte 14 วันที่ผ่านมา

      @@fatimo4kplease help

  • @parthsikka3816
    @parthsikka3816 ปีที่แล้ว

    I copied the exact code but the door is opening in the direction where the character is standing
    Opposite to the direction in video
    I can't figure out why

    • @SugimuraKaito
      @SugimuraKaito  ปีที่แล้ว +2

      Hello!
      So I'm assuming you are on the two sided door implementation and your door opens from both sides well, but its just that it opens in the wrong direction. In that case, I think the quickest fix would be switching the signs in the tenerary operator of the OpenDoor function.
      That is: float Angle = bDoorOnSameSide ? -DoorRotateAngle : DoorRotateAngle;
      Changed to: float Angle = bDoorOnSameSide ? DoorRotateAngle : -DoorRotateAngle;
      Or instead, you could also just add a negative sign when using the Angle variable.
      I think this might be because your door axis is on the opposite side of the door I used in the video so the angles are switched.
      I hope this helps!

  • @abdullaalromaithi8907
    @abdullaalromaithi8907 2 ปีที่แล้ว

    Thank you for your time and effort. I have a problem with the door as it wont close after I open it despite I follow your codes but it wont act the same as you shown in the video. Any suggestion. can u please help me with that.

    • @SugimuraKaito
      @SugimuraKaito  2 ปีที่แล้ว +2

      Hello!
      I can't really be sure what the problem is since I cannot see your code directly, but here are a few possible things I can think of:
      1. Make sure you are calling Timeline.Reverse() to close the door. You can try putting something like
      UE_LOG(LogTemp, Display, TEXT("Timeline Reverse has been called!"));
      under Timeline.Reverse() to see if it is being called.
      2. Make sure you click Directly on the door (for example, the door frame) when you close it. (Clicking the middle of the door will not send an interaction.) If you want an interaction by clicking the middle of the door, see 13:29
      3. I just realized in the video, I never explained how to equip the curve float. To do that, go into your BP_Door actor and in the details panel on the right, there should be an option to select the curve float. Select the one you have made (9:10). Sorry I forgot to include this part in the video
      Hope this works!

    • @abdullaalromaithi8907
      @abdullaalromaithi8907 2 ปีที่แล้ว +1

      @@SugimuraKaito Thank you I will try it as soon as I get back home. appreciate it.

    • @Burak-g6g9l
      @Burak-g6g9l 5 วันที่ผ่านมา

      @@abdullaalromaithi8907did you fix it??

  • @valeriymalishevskyi1723
    @valeriymalishevskyi1723 ปีที่แล้ว +1

    👋👋👋👋👋👋👍👍👍👍👍👍

  • @kunalpatel.007
    @kunalpatel.007 6 หลายเดือนก่อน

    Not a good video... Everything is too fast and Main character is skipped..very bad 😞