Unreal Engine 2.5D Shooter With 2D Sprites

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

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

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

    How did you make that gun move around with main player and shoot 😮

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

      The gun is a separate object with the player as its parent. Since this is 2.5D, the gun has its own capsule positioned in 3D relative to the player's capsule. The gun sprite looks for the position and rotation of the gun capsule in 3D to figure out where to position itself and which sprite facing to draw.