Unreal 게임 개발/Unreal 오류 해결 모음1 ProjectileMovementComponent와 Physics 사용 시 Overlap 에러 화살의 움직임을 만들기 위해서 ProjectileMovementComponent를 추가하고나서 이상한 현상이 발생했다. 위 동영상은 코드에서 SimulatePhysics를 비활성화했을 때ArrowBox->SetSimulatePhysics(false); 위 동영상은 SimulatePhysics를 활성화했을 때이다.ArrowBox->SetSimulatePhysics(true); 이 한줄의 차이로 Overlap이 작동하는지 판가름했다. 왜???SimulatePhysics와 ProjectileMovementComponent가 Overlap에 관여하는가??SetSimulatePhysics(true)가 활성화되면 물리 엔진이 움직임을 제어한다.이떄 물리 시물레이션이 활성화되면 UE는 충돌 이벤트를 우선적으로 처리.. 2024. 10. 26. 이전 1 다음