Spawning The Projectile

How would I be able to store the spawned projectile in a value? I’m unsure of how to store it since the GetWorld() is giving me an error

What error?

SpawnActor returns the spawned actor

AProjectile* Spawned = GetWorld()->SpawnActor<AProjectile>(...);

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms