Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ExternalPhysicsCustomObjectVersion.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreTypes.h"
5#include "Misc/Guid.h"
6
7// Custom serialization version for changes made in Fortnite-Dev-Physics stream
9{
10 enum Type
11 {
12 // Before any version changes were made
13 BeforeCustomVersionWasAdded = 0,
14
15 // Format change, Removed Convex Hulls From Triangle Mesh Implicit Object
16 RemovedConvexHullsFromTriangleMeshImplicitObject,
17
18 // Add serialization for particle bounds
19 SerializeParticleBounds,
20
21 // Add BV serialization for evolution
22 SerializeEvolutionBV,
23
24 // Allow evolution to swap acceleration structures
25 SerializeEvolutionGenericAcceleration,
26
27 //Global elements have bounds so we can skip them
28 GlobalElementsHaveBounds,
29
30 //SpatialIdx serialized
31 SpatialIdxSerialized,
32
33 //Save out heightfield data
34 HeightfieldData,
35
36 //Save out multiple acceleration structures
37 SerializeMultiStructures,
38
39 // Add kinematic targets to TKinematicGeometryParticles
40 KinematicTargets,
41
42 // Allow trimeshes to serialize their acceleration structure
43 TrimeshSerializesBV,
44
45 // Serialize broadphase type
46 SerializeBroadphaseType,
47
48 // Allow scaled geometry to be a concrete type
49 ScaledGeometryIsConcrete,
50
51 // Trimeshes serialize AABBTree
52 TrimeshSerializesAABBTree,
53
54 // Adds Serialization of HashResult, and separates delete/update TAccelerationStructureHandle in FPendingSpatialData
55 SerializeHashResult,
56
57 // Only serialize internal acceleration structure queue and acceleration structure. No external/Async queues.
58 FlushEvolutionInternalAccelerationQueue,
59
60 // Serialize world space bounds of TPerShapeData
61 SerializeShapeWorldSpaceBounds,
62
63 // Add an SOA which contains particles with full dynamic data but which are in the kinematic object state.
64 AddDynamicKinematicSOA,
65
66 // Added material manager to Chaos
67 AddedMaterialManager,
68
69 // Added material indices to trimesh collision data
70 AddTrimeshMaterialIndices,
71
72 // Add center of mass and volume cached calculations to TConvex
73 AddConvexCenterOfMassAndVolume,
74
75 // Add mass transform data to kinematic particle
76 KinematicCentersOfMass,
77
78 // Added ability to remove shapes from collision resolution (will not construct constraints when one or more shapes removed)
79 AddShapeCollisionDisable,
80
81 //Heightfield cell bounds are implicit
82 HeightfieldImplicitBounds,
83
84 // Add damping to rigid particles
85 AddDampingToRigids,
86
87 //Replace TBox with TAABB in many places
88 TBoxReplacedWithTAABB,
89
90 // Serialize bSimulate on PerShapeData
91 SerializePerShapeDataSimulateFlag,
92
93 // Serialize whether or not an AABBTree is immutable
94 ImmutableAABBTree,
95
96 // Trimeshes can now use small indices
97 TrimeshCanUseSmallIndices,
98
99 // Union objects can avoid allocating a full hierarchy
100 UnionObjectsCanAvoidHierarchy,
101
102 // Capsules no longer have a union inside them or stored aabbs
103 CapsulesNoUnionOrAABBs,
104
105 // Convexes use concrete planes
106 ConvexUsesTPlaneConcrete,
107
108 // Heightfield uses uint16 heights directly
109 HeightfieldUsesHeightsDirectly,
110
111 // TriangleMesh has map from internal face indices to external.
112 TriangleMeshHasFaceIndexMap,
113
114 // Acceleration structures use unique payload idx
115 UniquePayloadIdx,
116
117 // Added serialization for the collision type in the shape
118 SerializeCollisionTraceType,
119
120 // Force rebuild of indices in BodySetup
121 ForceRebuildBodySetupIndices,
122
123 // Added serialization for the physics material sleep counter threshold
124 PhysicsMaterialSleepCounterThreshold,
125
126 // Added ability to remove shapes from sim and/or query separately
127 AddShapeSimAndQueryCollisionEnabled,
128
129 // Remove extra representations of per shape sim and query enabled flags
130 RemoveShapeSimAndQueryDuplicateRepresentations,
131
132 // Removed unused full bounds from AABBTree
133 RemovedAABBTreeFullBounds,
134
135 // Added one-way interaction flag
136 AddOneWayInteraction,
137
138 // -----<new versions can be added above this line>-------------------------------------------------
139 VersionPlusOne,
140 LatestVersion = VersionPlusOne - 1
141 };
142
143 // The GUID for this custom version number
144 const static FGuid GUID;
145
146private:
148};
Definition Guid.h:108