mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ue4] Fixed collision mesh cooking. See #1085
This commit is contained in:
parent
0c02bace47
commit
67b8aed689
@ -6,6 +6,10 @@ AppliedTargetedHardwareClass=Desktop
|
|||||||
DefaultGraphicsPerformance=Maximum
|
DefaultGraphicsPerformance=Maximum
|
||||||
AppliedDefaultGraphicsPerformance=Maximum
|
AppliedDefaultGraphicsPerformance=Maximum
|
||||||
|
|
||||||
|
[/Script/EngineSettings.GameMapsSettings]
|
||||||
|
GameDefaultMap=/Game/Test/Test.Test
|
||||||
|
GlobalDefaultGameMode=/Game/Test/Blueprints/TouchClick.TouchClick_C
|
||||||
|
|
||||||
[/Script/Engine.PhysicsSettings]
|
[/Script/Engine.PhysicsSettings]
|
||||||
DefaultGravityZ=-980.000000
|
DefaultGravityZ=-980.000000
|
||||||
DefaultTerminalVelocity=4000.000000
|
DefaultTerminalVelocity=4000.000000
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -1778,7 +1778,7 @@ void URuntimeMeshComponent::UpdateCollision()
|
|||||||
BodySetup->BodySetupGuid = FGuid::NewGuid();
|
BodySetup->BodySetupGuid = FGuid::NewGuid();
|
||||||
|
|
||||||
|
|
||||||
#if WITH_RUNTIME_PHYSICS_COOKING || WITH_EDITOR
|
#if WITH_RUNTIME_PHYSICS_COOKING || WITH_PHYSX || WITH_EDITOR
|
||||||
// Clear current mesh data
|
// Clear current mesh data
|
||||||
BodySetup->InvalidatePhysicsData();
|
BodySetup->InvalidatePhysicsData();
|
||||||
// Create new mesh data
|
// Create new mesh data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user