Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
21 results for shoot
A blocking collision between two shapes. Fires OnHit on both actors. Use for solid impacts.
APlayerCameraManager method. Use ClientStartCameraShake on PlayerController.
Start Camera ShakeUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoDoNUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoRequires Simulation Generates Hit Events on physics body.
Event HitUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoFires when a physics collision happens. Use for impact effects, damage on contact.
Pattern: BP_Projectile with SphereCollision(root), StaticMesh, ProjectileMovementComponent(InitialSpeed=3000, MaxSpeed=3000, bRotationFollowsVelocity=true). OnComponentHit → ApplyDamage(OtherActor, Damage, GetInstigatorController, Self) → SpawnEmitterAtLocation(ImpactPoint) → DestroyActor. Spawner: SpawnActorFromClass(BP_Projectile, MuzzleLocation, MuzzleRotation).
Fires once on actor spawn (after construction). Use for setup that needs other actors in the world to exist.
Pattern: InputAction Fire → GetMesh → GetSocketTransform(InSocketName='MuzzleSocket') → BreakTransform(outputs Location, Rotation) → MakeTransform(Location=SocketLocation, Rotation=SocketRotation) → SpawnActorFromClass(Class=BP_Projectile, SpawnTransform=Transform). Key: GetSocketTransform must be called on the SkeletalMeshComponent (GetMesh()), not the actor. Use 'World' TransformSpace. SpawnActorFromClass takes a full Transform, not separate Location/Rotation.