Access Any Motion Controller From The Player In UE5 With This Little Bit Of Code - And Example

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

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

  • @nfrancisj2122
    @nfrancisj2122 10 วันที่ผ่านมา

    so.... why not just use a interface like everyone else? 😄

    • @GDXR
      @GDXR  10 วันที่ผ่านมา

      Because you don't need to and an interface requires a reference to the code that needs the motion controllers. Even though I showed this with a component on the player, it can work with any component, actor any way. Without having a hard reference between the player and that actor.

    • @nfrancisj2122
      @nfrancisj2122 10 วันที่ผ่านมา

      @@GDXR There is a hard reference, it's just hidden "under the hood." The reference viewer just doesn't show it. But also, the pawn will always be loaded when you use your controller, so a hard ref is not a problem. Anyway, there are many ways, thanks for sharing.

  • @JohnRiversOfficial
    @JohnRiversOfficial 4 วันที่ผ่านมา

    very queer thumbnail ngl :S