Keywords: UE4, Physics Animation, Physics Simulation

Documents

Offical Docs

Physics Asset Properties Reference
https://docs.unrealengine.com/en-US/Engine/Physics/PhAT/Reference

Editing Physics Asset Physics Bodies
https://docs.unrealengine.com/en-us/Engine/Physics/PhAT/HowTo/EditPhATPhysicsBodies

PhysX Constraint User Guide
https://docs.unrealengine.com/en-US/Engine/Physics/Constraints/ConstraintsUserGuide

Physics Asset Editor - Constraints Graph
https://docs.unrealengine.com/en-us/Engine/Physics/PhAT/Graph

Tutorials

Youtube Tutorials

Dynamic/Simulated Ponytail (Bone Chain) Tutorial - Unreal Engine 4.
https://www.youtube.com/watch?v=Jq0pB2Um_pA

UE4 Physics Chain
https://www.youtube.com/watch?v=BH0G89cXHvw

UE4 How to make Mechanical Joints with Physics Constraints in Unreal Engine 4 Tutorial
https://www.youtube.com/watch?v=bMEp9tAcisU

Vehicle Tutorials

With this SIMPLE component in UE4 you can make vehicles with 1, 2, 3 or even 20 wheels.(Recommended)
https://www.youtube.com/watch?v=ZKP0heuQdVY
UE4 Simple Wheeled Vehicle Movement Component tutorial project files
https://continuebreak.itch.io/ue4-simple-wheeled-vehicle-movement-component-tutorial-project-files

Lusiogenic
https://www.youtube.com/channel/UCashj2epd9Urq1_5_RRuDrw
UE4 How to make Car Vehicle Wheel with Suspension using Physics in Unreal Engine 4 Tutorial
https://www.youtube.com/watch?v=PWTCM6sZ6OE
(Free Project File) UE4 Tutorial - Physics Suspension/Rope Bridge
https://www.youtube.com/watch?v=PYJP09BENiQ

Unreal Engine 4 - Physics Constraints Vehicle Tutorial - Part 1
https://www.youtube.com/watch?v=E9VxFpacdTg
Unreal Engine 4 - Physics Constraints Vehicle - Part 2 (Steering and more stability)
https://www.youtube.com/watch?v=Qiyt4eFd_R4

Fragments Tutorials

Framerate independent physics in UE4
https://avilapa.github.io/post/framerate-independent-physics-in-ue4/

Plugins

Cloth

Cloth wind bone physics engine
https://github.com/SPARK-inc/SPCRJointDynamicsUE4

KawaiiPhysics : Simple fake Physics for UnrealEngine4 & 5
https://github.com/pafuhana1213/KawaiiPhysics

Unreal Engine real-time cloth simulation plugin and 3D clothes designer. (Recommended)
https://udraper.com/

Liquids

Zibra Liquids is a next-gen AI-powered tool for real-time 3D liquid physics simulation, that enables the creation of high-quality liquid visuals and game mechanics based on interactive physics. Available for Unreal Engine 4 and 5.
https://www.unrealengine.com/marketplace/en-US/product/zibra-liquids

Example

Mimic human

Cyberballs: The Mimic. CyberBalls that Mimics a human. Physically dynamic balls becomes together to shape a human form.
https://www.unrealengine.com/marketplace/en-US/product/cyberballs-the-mimic

Usages

How to enable Clothing on Android Device

Steps

1, Enable bCompileNvCloth in source file UEBuildAndroid.cs:

Target.bCompileNvCloth = true;

Source path:
Engine\Source\Programs\UnrealBuildTool\Platform\Android\UEBuildAndroid.cs

2, Add NvCloth module in .Build.cs.

using UnrealBuildTool;

public class TestTP2 : ModuleRules
{
    public TestTP2(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

        PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "NvCloth" });
    }
}

Reference
NvCloth
http://gameworksdocs.nvidia.com/NvCloth/1.1/index.html

Build Tools
https://docs.unrealengine.com/en-us/Programming/BuildTools

How to keep physic works right at low frame rate (Physics Substepping)?
void AMyVehicleActor::BeginPlay()
{
    Super::BeginPlay();

    if (FPhysScene* PhysScene = GetWorld()->GetPhysicsScene())
    {
        PhysScene->OnPhysSceneStep.AddUObject(this, &AMyVehicleActor::SubstepPhysics);
    }
}

Substepping In Unreal Engine 4
http://mansisaksson.com/view/ue4-substepping

How to add force on multiple BodyInstance (SkeletalMesh only)
USkeletalMeshComponent::SetAllPhysicsLinearVelocity(velScale * GlobalForwardVector, true);

Add external force to vehicle and large forces
https://answers.unrealengine.com/questions/124715/add-external-force-to-vehicle-and-large-forces.html

Issues

Why physics asset doesn’t work when skeletal mesh was wrapped in blueprint

Solution:
Set Collision Presets as Ragdoll.

Vehicle rotate jitter in network

4.21 vehicle rotate jitter in network
https://answers.unrealengine.com/questions/906765/421-vehicle-rotate-jitter-in-network.html


我的天空里没有太阳,总是黑夜,但并不暗,因为有东西代替了太阳。虽然没有太阳那么明亮,但对我来说已经足够。凭借着这份光,我便能把黑夜当成白天。我从来就没有太阳,所以不怕失去。——东野圭吾《白夜行》