Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions Gems/SimulationInterfaces/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Language: Cpp

AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
BeforeLambdaBody: true
AfterStruct: true
BeforeElse: true
SplitEmptyFunction: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 140
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IndentCaseBlocks: true
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
SortIncludes: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
Standard: c++17
UseTab: Never
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"ContainerEntity": {
"Id": "ContainerEntity",
"Name": "TestSimulationEntity",
"Components": {
"EditorDisabledCompositionComponent": {
"$type": "EditorDisabledCompositionComponent",
"Id": 13342689700908152991
},
"EditorEntityIconComponent": {
"$type": "EditorEntityIconComponent",
"Id": 8584796089140035515
},
"EditorEntitySortComponent": {
"$type": "EditorEntitySortComponent",
"Id": 17941228157017035486,
"Child Entity Order": [
"Entity_[2555577822056]"
]
},
"EditorInspectorComponent": {
"$type": "EditorInspectorComponent",
"Id": 16387168034938951622
},
"EditorLockComponent": {
"$type": "EditorLockComponent",
"Id": 5868718090530092403
},
"EditorOnlyEntityComponent": {
"$type": "EditorOnlyEntityComponent",
"Id": 10685569871653723108
},
"EditorPendingCompositionComponent": {
"$type": "EditorPendingCompositionComponent",
"Id": 13486227769083255940
},
"EditorPrefabComponent": {
"$type": "EditorPrefabComponent",
"Id": 9974721317876760075
},
"EditorVisibilityComponent": {
"$type": "EditorVisibilityComponent",
"Id": 18186949152932686714
},
"TransformComponent": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 13473127497085401640,
"Parent Entity": ""
}
}
},
"Entities": {
"Entity_[2555577822056]": {
"Id": "Entity_[2555577822056]",
"Name": "TestSimulationEntity",
"Components": {
"EditorBoxShapeComponent": {
"$type": "EditorBoxShapeComponent",
"Id": 17815707635495439549,
"GameView": true
},
"EditorColliderComponent": {
"$type": "EditorColliderComponent",
"Id": 7164453177612248133,
"ColliderConfiguration": {
"MaterialSlots": {
"Slots": [
{
"Name": "Entire object"
}
]
}
},
"ShapeConfiguration": {
"ShapeType": 0
}
},
"EditorDisabledCompositionComponent": {
"$type": "EditorDisabledCompositionComponent",
"Id": 14547453815095477983
},
"EditorEntityIconComponent": {
"$type": "EditorEntityIconComponent",
"Id": 11928217918748032436
},
"EditorEntitySortComponent": {
"$type": "EditorEntitySortComponent",
"Id": 16175661524427525128
},
"EditorInspectorComponent": {
"$type": "EditorInspectorComponent",
"Id": 7165286389418841970
},
"EditorLockComponent": {
"$type": "EditorLockComponent",
"Id": 18134844107097174864
},
"EditorOnlyEntityComponent": {
"$type": "EditorOnlyEntityComponent",
"Id": 3157917745503616515
},
"EditorPendingCompositionComponent": {
"$type": "EditorPendingCompositionComponent",
"Id": 10603658429884530304
},
"EditorRigidBodyComponent": {
"$type": "EditorRigidBodyComponent",
"Id": 11637898985208574279,
"Configuration": {
"entityId": "",
"Mass": 523.5988159179688,
"Inertia tensor": [
52.35987854003906,
0.0,
0.0,
0.0,
52.35987854003906,
0.0,
0.0,
0.0,
52.35987854003906
]
}
},
"EditorVisibilityComponent": {
"$type": "EditorVisibilityComponent",
"Id": 6275443825220336439
},
"TransformComponent": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 14994870681931426785,
"Parent Entity": "ContainerEntity"
}
}
}
}
}
11 changes: 11 additions & 0 deletions Gems/SimulationInterfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) Contributors to the Open 3D Engine Project.
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#

o3de_gem_setup("SimulationInterfaces")

ly_add_external_target_path(${CMAKE_CURRENT_SOURCE_DIR}/3rdParty)

add_subdirectory(Code)
Loading