Lasse Öörni
|
b8270df90b
Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events.
|
12 gadi atpakaļ |
Lasse Öörni
|
5e5d98581c
Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale.
|
12 gadi atpakaļ |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
12 gadi atpakaļ |
Wei Tjong Yao
|
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
|
12 gadi atpakaļ |
Lasse Öörni
|
4e1e1f9ce6
Converted static const String arrays to const char* arrays where applicable.
|
12 gadi atpakaļ |
Lasse Öörni
|
1930041147
Optimization: DecalSet & ScriptInstance unsubscribe from scene update when disabled.
|
12 gadi atpakaļ |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
12 gadi atpakaļ |
Lasse Öörni
|
e9aacd1df9
Removed the AttributeListChanged event for now, as it was causing stack overflows in the editor. It was only needed to track changed attributes on script file reload.
|
12 gadi atpakaļ |
Lasse Öörni
|
171e802c8f
Scene change events. Removes need for hardcoded hierarchy updates in the editor. May potentially have caused regressions, so needs to be approached with care.
|
13 gadi atpakaļ |
Lasse Öörni
|
852047545e
Added section on bytecode precompilation to the scripting documentation page.
|
13 gadi atpakaļ |
Lasse Öörni
|
55f249e548
Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
|
13 gadi atpakaļ |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
13 gadi atpakaļ |
Lasse Öörni
|
2c96dff225
Execute procedural Start() & Stop() functions automatically when a ScriptFile is loaded and unloaded. This allows live-reload of a whole script application.
|
13 gadi atpakaļ |
Lasse Öörni
|
b449032071
Applied ScriptInstance hot reload patch from Magic.Lixin, slightly modified.
|
13 gadi atpakaļ |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 gadi atpakaļ |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 gadi atpakaļ |
Lasse Öörni
|
680b3d0842
Remap OpenGL vertex attributes so that skinning attributes also fit into the first 8, to fix GLES2 skinning bug on devices that only support 8 attributes (thanks to Alex Fuller.)
|
13 gadi atpakaļ |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 gadi atpakaļ |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 gadi atpakaļ |
Lasse Öörni
|
312ddc0242
Added repeat flag to delayed method calls.
|
13 gadi atpakaļ |
Lasse Öörni
|
ea2f6e967a
Added DelayedStart() script object method to work around missing child scene nodes during Start().
|
13 gadi atpakaļ |
Lasse Öörni
|
d05a89c0a4
Cleanup comments.
|
13 gadi atpakaļ |
Lasse Öörni
|
d9f9505ae4
Fixed possibility of mistaken procedural event handling if attempted from a script object that does not belong to a ScriptInstance.
|
13 gadi atpakaļ |
Lasse Öörni
|
8a5d1b5322
Removed the object & module maps from the Script subsystem. Use instead AngelScript userdata to map from script constructs to C++ objects.
|
13 gadi atpakaļ |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
13 gadi atpakaļ |
Lasse Öörni
|
1a9dced05b
Updated to AngelScript 2.23.1 WIP.
|
13 gadi atpakaļ |
Lasse Öörni
|
32fa940130
Handle world transform update of parented RigidBodies correctly.
|
13 gadi atpakaļ |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 gadi atpakaļ |
Lasse Öörni
|
0f10116666
Attribute renames.
|
14 gadi atpakaļ |
Lasse Öörni
|
b6e09d2655
Renamed FinishUpdate() to ApplyAttributes() to be more descriptive, and to not confuse with frame updates.
|
14 gadi atpakaļ |