WIP - Architecture for brute force animation

+ sequence look / extend / grab / drop
This commit is contained in:
Jb win
2025-05-01 03:11:58 +07:00
parent c6f63317b6
commit 42196c7680
7 changed files with 303 additions and 35 deletions

View File

@ -28,11 +28,11 @@ void ARobotPawn::InitPilotComponent()
break;
case ERobotsName::SO100Robot:
RobotPilotComponent = NewObject<URobotPilotSO100Component>(GetOwner());
RobotPilotComponent = NewObject<URobotPilotSO100Component>(this);
break;
case ERobotsName::DJIDrone:
RobotPilotComponent = NewObject<URobotPilotMultiRotorDrone>(GetOwner());
RobotPilotComponent = NewObject<URobotPilotMultiRotorDrone>(this);
break;
case ERobotsName::Luck_e:
@ -63,6 +63,5 @@ void ARobotPawn::InitPilotComponent()
if (RobotPilotComponent)
{
RobotPilotComponent->RegisterComponent();
RobotPilotComponent->InitPilotComponent();
}
}