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 ragdoll
Pattern: 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.
Pattern: OnDeath → GetMesh → SetSimulatePhysics(bSimulate=true) → AddImpulse(Impulse=MakeVector(X=0,Y=0,Z=500), bVelChange=true). For explosion: GetMesh → AddRadialImpulse(Origin=ExplosionLocation, Radius=500, Strength=1000, Falloff=RIF_Linear, bVelChange=false). Key: Always call SetSimulatePhysics BEFORE AddImpulse. AddImpulse input 'bVelChange=true' for direct velocity (ignores mass). AddRadialImpulse is on PrimitiveComponent.
string
Displays a Texture2D or Material in UMG. Set Brush.Tint to colorize.
Call on the SkeletalMeshComponent. Get it via GetMesh() on Character. Returns montage length. Exec out is 'then'.
PlayMontageUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPlay AnimationUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoA 2D image asset used by Materials (color, normal, roughness maps) or UMG Images.
OR=BooleanOR, NOT=Not_PreBool, XOR=BooleanXOR
ANDUE 5.4, 5.7updated 2mo agoWeight 0.0=always false, 1.0=always true, 0.5=50%.
Random Bool with WeightUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: On EventAnyDamage → GetPlayerController(0) → GetPlayerCameraManager → StartCameraShake(DamageShakeClass, MapRangeClamped(Damage, 0, 100, 0.3, 1.0)). Create CameraShakeClass as BP extending UCameraShakeBase with RotOscillation and LocOscillation settings.