전체 글

전체 글

    [UE5] 11 - Attack

    Weapon Attack 1. 공격 범위 설정 - Box Collision Create - start, end 위치를 만든 후 두 위치를 Trace 2. 공격 시 활성화 - Attack Montage 수정 및 Animation 수정 3. Enemy Create - Mixamo Character 사용 - 사용시 Mixamo Character는 skeletal에 root bone이 없으므로 blender을 이용해 추가 - blender Mixamo 사용 - Hit Animation Montage Create - Enemy Animation Create 4. Enemy에게 Hit을 넘기기 위한 Interface Create - Weapon에 맞은 Hit Actor Get Hit 실행 - Cast 사용 5. A..

    [C++] 10 - 기초 문법 공부 일지(Tree)

    BinarySearchTree 노드의 왼쪽 하위 트리에는 노드의 키보다 작은 키가있는 노드만 포함 노드의 오른쪽 하위 트리에는 노드의 키보다 큰 키가있는 노드만 포함 왼쪽 및 오른쪽 하위 트리도 각각 이진 검색 트리 중복 된 키 허용X 10, 15, 5, 9, 3, 2, 11 Node Create parent, left, right, key class Node { public: Node(int key) : parent(nullptr), left(nullptr), right(nullptr), key(key) {} ~Node() {} public: Node* parent; Node* left; Node* right; int key; }; BSTree Create #pragma once class BSTree..

    [C++] 9 - 기초 문법 공부 일지(Graph)

    Graph 인접 리스트 연결된 edge만 넣어줌 메모리 많은 소모X, 느린 접근 #include "pch.h" int main() { // 인접 리스트 vector adjacentInt; adjacentInt.resize(5); adjacentInt[0] = { 1, 5 }; adjacentInt[1] = { 2, 4 }; adjacentInt[2] = { 4 }; adjacentInt[4] = { 2 }; } 인접 행렬 메모리 소모 심함 빠른 접근 #include "pch.h" int main() { // 인접 행렬 vector adjacentBool(6, vector(6, false)); adjacentBool[0][1] = true; adjacentBool[0][5] = true; adjacentB..