Commit Graph

96 Commits

Author SHA1 Message Date
Wojtek Figat
ca6544204b Fix actor hierarchy initialization when it gets modified by a script on the fly
#2940 #2623 #2751
2025-02-25 15:32:20 +01:00
Wojtek Figat
1c3d1b623d Optimize and cleanup some actor code 2025-02-25 15:31:46 +01:00
Wojtek Figat
3ad369501a Add support for searching actors and scripts by interface
#3199
2025-02-11 14:22:44 +01:00
Wojtek Figat
aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +01:00
Wojtek Figat
42fc62eb68 Add Actor.Clone for actors duplication at runtime (including scripts and children)
#2012
2025-01-31 10:21:05 +01:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Wojtek Figat
013dab4ba7 Fix codestyle and apply pr feedback
#2730
2024-07-25 10:52:54 +02:00
Mateusz Karbowiak
cb3e8e4112 Ambiguous name fix 2024-06-22 16:41:29 +02:00
Mateusz Karbowiak
5f4aee71b8 Actor naming without string copy fix 2024-06-22 15:14:02 +02:00
Wojtek Figat
19ad91d5d8 Merge remote-tracking branch 'origin/master' into 1.9 2024-05-31 22:12:03 +02:00
Wojtek Figat
e0791eacad Fix game crashes due to scene objects C# instances removal on EndPlay before all game logic ends 2024-05-31 10:29:23 +02:00
Wojtek Figat
97be8ee8cc Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Content/Storage/FlaxStorage.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
2024-05-15 23:49:05 +02:00
Wojtek Figat
dc1f15f18d Add OnStaticFlagsChanged to Actor 2024-05-09 16:55:05 +02:00
Wojtek Figat
c4949de28f Add new Static Flag Shadow for cached shadow maps 2024-04-11 10:20:21 +02:00
Wojtek Figat
28da656ed1 Fix preserving actors hierarchy order when performing undo of actor removal
#1751
2024-03-05 16:30:50 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
e5cfd872b2 Simplify math codebase 2024-02-20 17:52:51 +01:00
Wojtek Figat
2cce7522de Merge branch 'optimize-actors-search' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-optimize-actors-search 2024-02-18 20:31:04 +01:00
Wojtek Figat
9335925b48 Simplify code #1949 2024-02-18 20:16:20 +01:00
Wojtek Figat
0d6f85ba6c Merge branch 'getprefabroot' of https://github.com/Menotdan/FlaxEngine into Menotdan-getprefabroot 2024-02-18 20:13:30 +01:00
Wojtek Figat
1094abce5a Fix crash when finding actor or level with empty name text
#2161
2024-01-10 12:12:11 +01:00
Wojtek Figat
4e34524a08 Add profile event 2023-12-19 13:02:48 +01:00
Wojtek Figat
bc2e130281 Fix calling script OnDestroy when removing actors or scripts from the scene 2023-12-18 21:43:13 +01:00
Wojtek Figat
1874382816 Various fixes to prefabs 2023-12-13 11:05:29 +01:00
Wojtek Figat
eb7d5e5df3 Fix crash when spawning actor from asyc thread into the SceneObject
#2033
2023-12-07 11:50:24 +01:00
Menotdan
3824b19c8b Added Actor.GetPrefabRoot() 2023-11-16 23:46:44 -05:00
MineBill
357148f973 Include interfaces in FindScript. 2023-10-30 08:07:46 +02:00
Mr. Capybara
fff8a1e8a6 Optimize actor search 2023-10-22 13:26:07 -04:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
a001a5fbdc Remove mutex usage since scenes are loaded in sync for now 2023-10-01 13:17:37 +02:00
Wojtek Figat
075f40b93a Minor fixes 2023-10-01 10:56:30 +02:00
Wojtek Figat
b960600102 Optimize scenes loading with Job System 2023-10-01 10:55:01 +02:00
Ruan Lucas
ba20402900 Change OnDestroy order 2023-09-28 19:05:26 -04:00
Ruan Lucas
409b17df2d Remake 2023-09-24 11:28:07 -04:00
Wiktor Kocielski
8008f05d64 Merge branch 'master' into layeraddition 2023-09-10 13:39:31 +03:00
Wiktor Kocielski
d9a1eb349d Implement tags recursive addition 2023-09-06 05:43:27 +03:00
Chandler Cox
5b5c298a96 Add remove tag method to actor. 2023-09-01 06:35:52 -05:00
Wiktor Kocielski
7b44075ac8 Add recursive methods for layers 2023-08-25 00:01:31 +03:00
Wojtek Figat
cfab58ccc6 Fix some actor assets into soft checks 2023-08-01 09:57:38 +02:00
Chandler Cox
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
Chandler Cox
efed1f5b1d Add FindActor by type and name. 2023-06-02 15:12:55 -05:00
Wojtek Figat
a8c6b2b619 Fix crash on end play when one of the actors has been manually disabled 2023-04-04 15:56:56 +02:00
Wojtek Figat
5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
Wojtek Figat
dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
Wojtek Figat
d58a77cc60 Add support in GetScript to interface types
#290
2023-02-10 15:36:02 +01:00
Wojtek Figat
82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00