58 Commits

Author SHA1 Message Date
Tryibion d88b93d56b Add find actor by type and tag to level and actor classes. Move find actor by tag code to be by other find actor methods. 2023-07-05 14:00:07 -05:00
mafiesto4 b13139c6cc Fix check from compilation errors 2023-06-15 12:14:35 +02:00
Tryibion efed1f5b1d Add FindActor by type and name. 2023-06-02 15:12:55 -05:00
Wiktor Kocielski ce1b47979e Typo fixes 2023-04-23 18:26:05 +03:00
mafiesto4 5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
mafiesto4 dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
mafiesto4 b4ea70acbb Fix layer name property to be hidden in Editor 2023-02-09 21:13:39 +01:00
mafiesto4 82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
mafiesto4 c854b657c1 Add actor virtual functions OnDebugDraw/OnDebugDrawSelected/OnEnable/OnDisable to override in scripting 2023-01-23 23:43:16 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 8762e8ad15 Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
mafiesto4 e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
mafiesto4 a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Tryibion 6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Tryibion af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
mafiesto4 16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00
mafiesto4 eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
mafiesto4 cd4d15e0e2 Minor improvements 2022-10-25 15:07:04 +02:00
mafiesto4 ed9f3f3d55 Add helper code example 2022-08-06 10:21:42 +02:00
mafiesto4 3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
mafiesto4 cf1f8487e7 Merge remote-tracking branch 'origin/master' into gi 2022-06-15 10:37:24 +02:00
mafiesto4 4386dc8774 Add Actor::GetOrAddChild to C++ 2022-06-15 09:23:06 +02:00
mafiesto4 d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
mafiesto4 f53a5ff536 Reorganize scene pointer in actor data 2022-05-21 19:41:24 +02:00
mafiesto4 551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
mafiesto4 7e609984b4 Add TypeReference attribute to actors/scripts searching utilities for easier type picking in Visual Script 2022-04-28 22:44:56 +02:00
mafiesto4 cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
mafiesto4 e554b7f531 Move Actor.DestroyChildren to C++ 2022-04-13 21:34:13 +02:00
mafiesto4 3fe1e2c763 Refactor SceneRendering to simplify actors impl of drawing flow at high level 2022-02-22 17:06:19 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
mafiesto4 37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
mafiesto4 427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 8a3cfb36d0 Merge branch 'multiple_physics_scenes' of git://github.com/iainmckay/FlaxEngine into iainmckay-multiple_physics_scenes 2022-01-10 20:13:55 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Iain Mckay a4e102672d Adds feature for creating multiple physics scenes 2022-01-05 14:26:42 +01:00
mafiesto4 77e1ec530b Refactor GetChildByPrefabObjectId/GetScriptByPrefabObjectId from Actor to be private 2021-12-11 17:28:20 +01:00
mafiesto4 254ebd1e7f Tweaks 2021-11-03 10:45:00 +01:00
ScottLongley 6376b83327 Add LookingAt to Actor 2021-08-15 19:48:12 +10:00
mafiesto4 4765e1af12 Add support for allocator type in Dictionary 2021-07-08 00:34:50 +02:00
mafiesto4 cc8e098183 Fix duplicated Debug Draw inoke for actors 2021-05-15 12:53:54 +02:00
mafiesto4 5f851d2433 Fix reparenting actors in editor to preserve world position
#500
2021-05-14 13:01:25 +02:00
mafiesto4 20331bc858 Fix crash when using Actor GetScript or GetChild with invalid index
#462
2021-04-20 10:12:57 +02:00
mafiesto4 4ae3fccfd9 Improve focusing on selected object in Editor
#328
2021-03-18 22:20:27 +01:00
mafiesto4 a21d1a91fc Fix compilation warnings under Clang 10 2021-02-23 23:28:28 +01:00
mafiesto4 537dde594d Update Actor docs for GetScripts to be more precise about search method 2021-02-16 11:00:08 +01:00