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.
45 results for component
A reusable piece of behavior or geometry attached to an Actor. Static Mesh, Collision, Audio, Camera are all components.
CREATE: New Blueprint → parent class UActorComponent (or USceneComponent if needs transform). Add variables (Health, MaxHealth). Add EventBeginPlay (available in component). Add custom events/functions (TakeDamage, Heal, OnDeath). ADD TO ACTOR: In your Actor BP → Add Component → search for your component class. Or: SpawnActorFromClass → GetComponentByClass → CastTo<BP_HealthComponent>. CROSS-COMMUNICATION: In Component's OnDeath → GetOwner → CastTo<BP_Character> → call OnCharacterDied. Or: Component has Event Dispatcher 'OnDied' → owner binds to it. BENEFIT: Reuse HealthComponent on Enemy, Player, Vehicle without code duplication.
Set Visibility (Component)UE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoK2_SetWorldLocation. USceneComponent method.
Set World LocationUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoSet World RotationUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPure node. Cast result to your component class. Returns null if not found.
GetComponentByClassUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoOnComponentHitUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoSetComponentTickEnabledUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoOnComponentEndOverlapUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA component with a Transform — can be attached and positioned in 3D. Static Mesh and Camera inherit from it.