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 terrain
Pattern for snapping object to ground: GetActorLocation → Add Vector(Z=+1000) → as TraceStart. GetActorLocation → Subtract Vector(Z=1000) → as TraceEnd. LineTraceByChannel(Start=TraceStart, End=TraceEnd, TraceChannel=Visibility) → Branch(ReturnValue=true) → BreakHitResult → SetActorLocation(NewLocation=ImpactPoint) → SetActorRotation(NewRotation=MakeRotFromZ(Normal)) [align to surface normal]. MakeRotFromZ takes a 'Z' input Vector and outputs Rotator aligned to that normal.
A 2D image asset used by Materials (color, normal, roughness maps) or UMG Images.
Defines how a surface renders — colors, textures, roughness, normals. Compiled to shader code per platform.
Pattern: Variables CurrentWave(int)=0, EnemiesAlive(int)=0, EnemiesPerWave(Array<int>). StartWave: CurrentWave++ → SET EnemiesAlive=EnemiesPerWave[CurrentWave]. Timer looping: Branch(SpawnedThisWave < EnemiesPerWave[CurrentWave]) → SpawnActor(EnemyClass, RandomSpawnPoint) → SpawnedThisWave++. OnEnemyDeath: EnemiesAlive-- → Branch(EnemiesAlive <= 0) → StartNextWave or Victory.
UGameplayStatics::SpawnEmitterAtLocation. For Niagara, use SpawnSystemAtLocation.
Spawn Emitter at LocationUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUNiagaraFunctionLibrary::SpawnSystemAtLocation. bAutoDestroy=true for fire-and-forget. Use SpawnSystemAttached to attach to a component.
SpawnSystemAtLocationUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA SceneComponent with simulate-physics enabled. Driven by forces, gravity, collisions instead of explicit transforms.
Legacy Cascade system. Prefer Niagara (SpawnSystemAtLocation) for new projects.
SpawnEmitterAtLocationUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoK2_AddActorWorldRotation. Multiply rotation by DeltaSeconds for frame-rate independence.
AddActorWorldRotationUE 5.4, 5.7updated 2mo agoRequires NavMesh in scene. Get AIController via GetController() on the pawn, cast to AIController.
SimpleMoveToLocationUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago