Commit History

Author SHA1 Message Date
  Lasse Öörni 39d733ae11 Added note that Node::Translate() in local mode disregards scale to keep movement speed independent. Removed test variable from 04_StaticScene.as. 11 years ago
  Lasse Öörni 67d603d8e5 Node transform space refactoring. Translate(), Rotate() and LookAt() functions take a transform space (local, parent or world). Translate() has a behavior change: default space is local, as that is most often used in eg. camera movement, and is consistent with the default for rotations (the earlier fixedAxis = false was same as local space). The redundant TranslateRelative() function is removed. Add RotateAround() function, which allows rotating around a pivot in either local, parent or world space. Closes #295. 11 years ago
  Lasse Öörni cf4c43d344 Added Serializer / Deserializer functions for reading & writing matrices. Added bool success parameter to Quaternion::FromLookRotation() and Node::LookAt(), as it can potentially give a NaN result (in which case the original rotation is kept). Optimized reading of math objects in Deserializer to avoid default construction. 11 years ago
  Lasse Öörni f6c96c2f9f Simplify defining Vector2,3,4::ZERO. Consistency for the up direction parameter name in Node::LookAt() & Quaternion::FromLookRotation(). 11 years ago
  aster2013 9cd40fb07f Revert attribute animation. It will be added in a new branch. 11 years ago
  aster2013 b1b9c34c11 Add simple attribute animation system, and change StaticScene to test it. 11 years ago
  aster2013 130551f4d8 Add fixed pixel size (user don't need change the value). 11 years ago
  Yao Wei Tjong 姚伟忠 24aeabb02f Move back MarkAllDrawable2DDirty() to Node class as public method. 11 years ago
  aster2013 3c7a52d6f3 Make MarkAllDrawable2DDirty function private in Scene class. 11 years ago
  Yao Wei Tjong 姚伟忠 d5d4d51aff Refactor Drawable2D's pixel-per-unit to Scene's 2D-unit-size attr. 11 years ago
  Yao Wei Tjong 姚伟忠 f48ef6f5bd Minor bug fix, refactoring and reformatting. 11 years ago
  Alex Parlett 7aa0d8acc9 Separated the Spline Mathematical aspect from the Component into a new Spline class under Math. No angelscript or lua bindings as of yet as I'm unsure how to go about adding the templated class in a suitable manner. 11 years ago
  Lasse Öörni 2529f4c51a Added IsNaN() to Vector2, Vector3, Vector4, Quaternion. Safeguard against Node::LookAt() misbehaving if target is very close. Closes #231. 11 years ago
  Amadeus cfd3cdc048 Do not crash when cloning components without attributes. 11 years ago
  Amadeus 167c68aea0 Fixed ComponentAdded event. 12 years ago
  Lasse Öörni 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 years ago
  Lasse Öörni 6d5ddc23e0 Bump the copyright for 2014. 12 years ago
  Lasse Öörni 76292ef63e Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation. 12 years ago
  Lasse Öörni 989aae2e31 Added a warning when an UnknownComponent is created. 12 years ago
  Lasse Öörni dd075db33b Added UnknownComponent mechanism for dealing with unregistered components in scene load/save. For now attributes are not editable. Related to issue #149. 12 years ago
  Lasse Öörni eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 12 years ago
  Lasse Öörni ab701e0e26 Only copy file serialization attributes when cloning a node hierarchy. Fixes #70. 12 years ago
  Lasse Öörni 2e178f1976 Added virtual function to Component for handling node enabled/disabled change. This optimizes StaticModelGroup to not have to subscribe to the scene-global change event. 12 years ago
  Lasse Öörni 05ba4bf719 Favor the non-parented case for SetWorld...() and for updating the world transform. 12 years ago
  Lasse Öörni 580dd746cf Removed transform attributes from Scene. 12 years ago
  Lasse Öörni a71f5fc588 Fixed bad performance of cleaning up a scene with many objects. 12 years ago
  Lasse Öörni 3b32acf27f Added possibility to clear scene of only replicated or local content. Do not clear local content from a client scene when joining a server. This makes the startup of the SceneReplication sample faster, as the static scene is not replicated. 12 years ago
  Lasse Öörni 26a9bc763e Added Temporary flag to Serializable, which means it will not be saved if enabled. Currently the sub-nodes created by Terrain are marked temporary. 12 years ago
  Wei Tjong Yao 02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 12 years ago