I am trying to change the location of a particle emitter in the world while the left mouse button is pressed. As I have it, the particle spawns in the correct location, but then does not move.
In these snippets I don’t have the error checking code, but I do ensure that the pointers are valid, and have logged to be sure that these functions are being called. I think I must be doing something wrong with the type of partical I spawn, or maybe not attaching it right to something I need to move about instead.
Any insight or help is appreciated, thanks.
//being initialized LaserPointer = UGameplayStatics::SpawnEmitterAtLocation(this, FX, GetActorLocation(), GetActorRotation()); Components.Add(LaserPointer); //Here I try to move it LaserPointer->SetWorldLocation(this->Owner->GetActorLocation());