Announcement

Collapse
No announcement yet.

Programmatically spawned blueprint actors have motion blur effect on them when they first appear

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Programmatically spawned blueprint actors have motion blur effect on them when they first appear

    I am trying to spawn a few blueprint actors in the game as follows:

    FActorSpawnParameters SpawnParams;
    SpawnParams.SpawnCollisionHandlingOverride = ESpawnActorCollisionHandlingMethod::AlwaysSpawn;
    pActor = World->SpawnActor<AActor>(MyBlueprint->GeneratedClass, transformation, SpawnParams);

    the actors are spawned with the correct location and rotation, however, for the first frame when the actors appear, there is motion blur effect on them, as if they had just moved from somewhere else to the the spawning location.

    I was not sure if I was spawning the actor correctly, so I experimented using the level blurprint to spawn my blueprint actor (Spawn Actor from Class), and this time the actor appeared correctly with no motion blur effect on it. Is there anything that I missed when trying to spawn the actor programmatically?
Working...
X