what is argument for SetActorLabel()
The name you want to give the actor label.
the actor label?
explain please
The name you see in the world outliner.
1 Like
Yes, that would be the actor label.
What are you trying to do?
Right, as in
// in class definition in the header
virttual void PostActorCreated() override;
//in .cpp
void AProjectileBase::PostActorCreated()
{
Super::PostActorCreated();
ProjectileMovement->InitialSpeed = MovementSpeed;
ProjectileMovement->MaxSpeed = MovementSpeed;
}
You declared the function in PawnBase instead of ProjectileBase
You’ve put the definition in the wrong file as well.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.







