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.
23 results for clamp
Clamp_FloatUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoBounds a value between Min and Max. Useful for clamping health to [0, MaxHealth] etc.
FClamp for float, Clamp for int.
Clamp (float)UE 5.4, 5.7updated 2mo agoPattern: EventAnyDamage → Subtract_FloatFloat(A=CurrentHealth, B=Damage) → Clamp(Value=Result, Min=0, Max=MaxHealth) → SetVariable(Health=ClampResult) → Branch(Condition=(Health <= 0)) → True: call OnDeath custom event. Variables needed: Health (float), MaxHealth (float). EventAnyDamage output pin is 'Damage' (float). Clamp inputs: 'Value', 'Min', 'Max'. All floats.
Output clamped to OutRange. Use MapRangeUnclamped for unclamped version.
Map Range ClampedUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agostring
Continuous force — apply every frame. Use AddImpulse for one-shot.
Add ForceUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: BoxCollision trigger, variable OverlappingActors(int)=0. OnBeginOverlap: OverlappingActors++ → Branch(OverlappingActors >= RequiredCount) → Activate. OnEndOverlap: OverlappingActors-- → Branch(OverlappingActors < RequiredCount) → Deactivate. Use interface or event dispatcher to notify connected actors (doors, platforms).
A clickable UMG widget. Hook OnClicked in the Graph to handle the press.
Macro. Enter only passes through when gate is open.
GateUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago