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.