Olex Lozitskiy
398f75d8cd
Spelling
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Olex Lozitskiy
a2b7f90a78
Disabling problematic NetBindComponent assert with a configuration option.
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Gene Walters
8cd4a3dced
Fix netbind component to use the new svg icons instead of png (which no longer exist)
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters
b19f96f1fe
Small safety check. It's unlikely, but possible, that a component is created and not assigned to an entity.
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters
b50739f55e
Small tweak to assert back to match existing format
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters
4f9d4b7045
Improved logged to print entity name if improperly deleted; helps when debugging to find the problem entity
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
Sergey Pereslavtsev
32f72a1213
Merge from development
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
kberg-amzn
479ff188a0
merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Sergey Pereslavtsev
2b2e5c6367
Fixed client hierarchy construction to check for authority instead of controller
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
kberg-amzn
8a3d055f8b
Some cleanup around handling of migrations to simplify interfaces and add additional hooks for functionality
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
250a91dd96
Network Hierarchy Root and Child components can now act as MultiplayerInputDriver for components with NetworkInputs
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Olex Lozitskiy
775dda8ed2
NetBindComponent::SetOwningConnectionId is for a hierarchy based on its root's network entity
...
- for hierarchies, on both servers and clients NetBindComponent::SetOwningConnectionId is set for the all involved entities based on the root entity owning connection id
- added new unit tests to cover these scenarios
- all unit tests pass, hierarchy benchmarks remain unaffected
4 years ago
AMZN-Olex
a2592e9ff8
Correction in set hierarchy entity logic.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
317bb7aa67
Owning connection id will happen on clients as well.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
37873f81cf
Setting owning connection id based on the hierarchy root network entity.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
79b41686c4
Merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Olex Lozitskiy
9e2eba2829
Network Hierarchy optimizations for rebuilding hierarchies
...
- reworked recursive rebuilding to iterative breadth first method
- some minor optimization here and there
4 years ago
AMZN-Olex
9e4a39f9ed
Hierarchy code enhancements
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
pereslav
62971fa7bd
PR feedback, removed unnecessary code
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
kberg-amzn
a6e7a81b79
More fixes to migration, plus some quality of life fixes to TimeoutQueue to allow lambda based handlers and a quick fix to OctreeSystemComponent to more gracefully handle enumerate calls that lie outside the vis system bounds
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
4449e83c3b
Further fixes to get client migrations functional, plus a bug fix from the netBindComponent lookup optimization
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
0c2c042fde
Fixed crash in ConstEntityHandle. Added hierarchical correction data serialization
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav
cb53389004
Added validation into input processing
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav
28a40fa4df
Added look up of the child entities when processing input to make sure the entity still exists
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
kberg-amzn
18340f2b1b
Changes to get client migration partially functional
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
a58325e691
Enabled multi-entities player prefabs. Added updating replication set for hierarchy children. PR feedback addressing
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
AMZN-Olex
0a11e8ffc5
Optimization for looking up components.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
pereslav
801e54c599
Merge branch 'development' of https://github.com/o3de/o3de into NetHierarchyInput
4 years ago
AMZN-Olex
d05d5d1e97
Hierarchy components optimizations
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
5acb360fbb
Merge pull request #4253 from aws-lumberyard-dev/MigrationFixup
...
Migration fixup
4 years ago
pereslav
64068991ed
Merge branch 'development' of https://github.com/o3de/o3de into NetHierarchyInput
4 years ago
kberg-amzn
bf136a567b
Some shutdown crash fixes, reverted a whitespace, and added some basic unit tests for time additions
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
65b82b41d6
Added unittest for an activation test
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
865ed60007
merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
8d993494f6
Entity migrations now totally functional again, plus some fixes to network rigid bodies to make them work properly as they migrate around
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
ef3552df69
First pass for network hierarchy input processing
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
AMZN-Olex
bd0f5a1746
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/nettransform_local_for_children_cr
4 years ago
lumberyard-employee-dm
816a623c97
Added missing EntityId.h include to FocusModeInterface.h ( #4396 )
...
* Added missing EntityId.h include to FocusModeInterface.h
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Non-unity build fix
Adding missing BehaviorContext.h includes to Multiplayer Gem
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Added missing BehaviorContext.h include to NetworkCharacterComponent
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
Artur K
f44169f7fa
Cleanup SerializeContext.h pt.1 ( #4264 )
...
* Remove AssetSerializer inclusion from SerializeContext header
Moved a few Reflect methods to new cpp files.
In addition, some preparations for further header dependency reductions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix smoke test lua failures.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Windows build fixes.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Missing license headers
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix white-space issues.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Code review fix for AzToolsFramework/AssetEditor/AssetEditorBus.h
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix inheritance list wrapping broken by older clang-format
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
kberg-amzn
0a829f9661
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
1765934281
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/nettransform_local_for_children_cr
4 years ago
kberg-amzn
f837f0494b
many bug fixes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Gene Walters
e91353143f
Merge branch 'upstream/development' into LYN6657_MultiplayerScriptImprovementsForDemo
4 years ago
AMZN-Olex
40286b7bac
A small optimization
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Gene Walters
a44af20f9a
Adding parameter names to NetworkCharacterComponent script events so people know what the parameters are used for in scriptcanvas
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters
c2c18f094b
Exposing NetworkCharacterComponent::TryMoveWithVelocity to script. Updating Multiplayer AutoComponent baseclass behavior context to Reflect itself instead of its derived (human made) component. This is so the derived class can also create behaviorcontext classes of its own if needed. Misc copyright header edit.
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
AMZN-Olex
3c46336ab0
NetTransform replicates local transform for child entities
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
5f73061227
Adding client side on-parent-changed logic for Network Transform Component
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
ca7de715fd
minor code cleanup
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago