LaunchBlast Has no Detail - Can't Add Particles

I’ve followed the lectures in building the projectile and bringing the explosion in to add to the projectile. LaunchBlast exists as a component of Projectile under Collision Mesh, but the Details tab shows nothing. Without Details, there’s no place to add the particles.

Here’s the Projectile.h line declaring components:
UPROPERTY(VisibleAnywhere, Category = “Components”)
UStaticMeshComponent* CollisionMesh = nullptr;

UPROPERTY(VisibleAnywhere, Category = "Components")
UParticleSystemComponent* LaunchBlast = nullptr;

And here are the .ccp sections:
CollisionMesh = CreateDefaultSubobject(FName(“Collision Mesh”));
SetRootComponent(CollisionMesh);
CollisionMesh->SetNotifyRigidBodyCollision(true);
CollisionMesh->SetVisibility(true);

LaunchBlast = CreateDefaultSubobject<UParticleSystemComponent>(FName("Launch Blast"));
LaunchBlast -> AttachTo(RootComponent);

All appears to align with Ben’s code, so I’m stumped as to why LaunchBlast doesn’t have the ability to add particles. Help.

Yeah, that’s an annoying bug. I believe you can fix it by commenting out the UPROPERTY, rebuilding, and then uncommenting it out and rebuild.

Side note to have a code block indent by 4 spaces or wrap with backticks

```
code here
```

1 Like

Thanks for the reply. Interestingly, when I tried to reopen the project in Unreal, it said it wouldn’t compile and I should recompile manually.

After recompiling manually, I was able to follow the steps you provided and get the particle component.

Just to be clear, you got everything working?

yes

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

Privacy & Terms