auto pos = GetActorLocation();
auto rayStart = pos + GetActorForwardVector() * 2.0f;
auto laserVector = GetActorForwardVector() * length;
auto laserEmitter = laserParticle->EmitterInstances;
laserEmitter->SetBeamTargetPoint(pos , 0); laserEmitter->SetBeamSourcePoint(FVector(100.0f, 100.0f, 100.0f), 0);
so I wanted to a laser, but I can’t seem to set the source point. The source point is always set to its initial position and seems like it’s immutable, I have set source point to “absolute” in the particle editor but it doesn’t change anything. I don’t know if it’s an engine bug or I just didn’t do it right.