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.
20 results for weapon
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).
string
Pattern: Attack input → Branch(bCanAttack) → PlayMontage(AttackMontage) → SET bCanAttack=false. AnimNotify during montage: GetActorLocation + GetActorForwardVector*AttackRange → SphereTraceMulti(Loc, Loc+Forward*Range, AttackRadius) → ForEach hit: Branch(HitActor != Self AND not already hit) → ApplyDamage(HitActor, Damage). OnMontageEnded → SET bCanAttack=true.
Get Target Arm LengthUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoApply Point DamageUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPossessPawnUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA Pawn pre-built for bipedal movement. Comes with a CharacterMovementComponent for walking/jumping/swimming.
A blocking collision between two shapes. Fires OnHit on both actors. Use for solid impacts.
An Actor that can be possessed by a Controller. Use for the player's avatar and AI agents.