먼저 헤더의 Fountain class 에 float 형으로 RotateSpeed 변수를 선언해줍니다. 1 2 3 4 5 6 7 8 9 10 11 12 AFountain::AFountain() //생성자 { RotateSpeed = 30.0f;//h파일에서 선언한 RotateSpeed 를 Fountain 생성자에서 초기화 } void AFountain::Tick(float DeltaTime) { Super::Tick(DeltaTime); AddActorLocalRotation(FRotator(0.0f, RotateSpeed * DeltaTime, 0.0f)); //AddActorLocalRotation 함수를 사용하여 y 축방향으로 DeltaTime 당 RotateSpeed만큼 회전 } Colored b..