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.
25 results for mesh
A non-deforming 3D model (rocks, walls, props). Cheap to render. For animated meshes use Skeletal Mesh.
Set Static MeshUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUE5 uses SetSkeletalMeshAsset, not SetSkeletalMesh.
Set Skeletal MeshUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: custom OnDeath event → GetCharacterMovement → DisableMovement() → GetMesh → SetSimulatePhysics(bSimulate=true) → SetCollisionEnabled(NoCollision) on CapsuleComponent. Key: SetSimulatePhysics is called on the MESH component (SkeletalMeshComponent), NOT on the actor or CharacterMovementComponent. Also set collision profile: SetCollisionProfileName('Ragdoll') on the mesh.
A 3D model with a skeleton — can be animated. Used for characters and creatures.
The bone hierarchy of a Skeletal Mesh. Multiple meshes can share one skeleton to share animations.
Set MaterialUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoGeometry used for hit-tests and physics. Often simpler than the visual mesh for performance.
USkeletalMeshComponent method. Cast to your AnimBP class.
Get Anim InstanceUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern 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.