UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"move a star"
// Move a Star void AStar::Tick(float DeltaTime) { Super::Tick(DeltaTime); FVector Movement = Velocity * DeltaTime; AddActorWorldOffset(Movement); if (GetActorLocation().Size() > StarfieldRadius) { Destroy(); } }