일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 언리얼엔진
- 메카님
- Unreal Engine
- gravity direction
- unity
- Delegate
- MAC
- gameplay ability system
- 언리얼 엔진
- photon fusion2
- CTF
- Security
- 유니티
- gameplay effect
- 게임 개발
- ret2libc
- Multiplay
- gas
- Replication
- MLFQ
- 유스케이스
- Race condition
- DSP
- ability task
- Aegis
- animation
- map design
- 게임개발
- dirty cow
- stride
- Today
- Total
목록reverse gravity (2)
Replicated

// Fill out your copyright notice in the Description page of Project Settings.#include "GA/TA/CSTA_ReverseGravityBox.h"#include "AbilitySystemComponent.h"#include "Abilities/GameplayAbility.h"#include "GameFramework/Character.h"#include "GameFramework/CharacterMovementComponent.h"#include "Components/CapsuleComponent.h"#include "AbilitySystemBlueprintLibrary.h"#include "Components/BoxComponent.h..

어빌리티 추가 일단 캐릭터에는 중력 변수가 있는데 폰에는 없음=> 그냥 Pawn에 AddForce 가해서 중력 반대방향, 하늘로 쏘면 사실상 반중력 구역 내의 모든 물체에 힘이 가해져야 하니 multi 처리가 필요하다FGameplayAbilityTargetDataHandle ACSTA_ReverseGravityTrace::MakeTargetData() const{ ACharacter* Character = CastChecked(SourceActor); UAbilitySystemComponent* ASC = UAbilitySystemBlueprintLibrary::GetAbilitySystemComponent(SourceActor); if (!ASC) { UE_LOG(LogCS, Log, TEXT("AS..