Lasse Öörni
|
ad7b7451b4
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
|
12 anni fa |
Lasse Öörni
|
855fefe74c
Applied Bullet internal edge patch from amadeus_osa.
|
12 anni fa |
Lasse Öörni
|
633378312b
Added missing CollisionShape::SetStaticPlane() function.
|
12 anni fa |
Lasse Öörni
|
63e4ff5b4b
Allow to query rigid body's center of mass.
|
12 anni fa |
Lasse Öörni
|
5feb2f9527
Calculate proper center of mass shift for rigid body. This makes eg. ragdolls work better.
|
12 anni fa |
Lasse Öörni
|
7397399c7c
Allow defining draw range without an index buffer if raw index data has been defined. Note: the validity of the draw range cannot be checked in that case.
|
12 anni fa |
Lasse Öörni
|
4e618bb80e
Subclass SDLActivity so that the package name in SDL JNI code does not need to be changed.
|
12 anni fa |
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 anni fa |
Lasse Öörni
|
1d2fec862c
Applied CustomGeometry convex hull collision patch from Pete Leigh, with added serialization support.
|
12 anni fa |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
12 anni fa |
Lasse Öörni
|
2afdf2675a
Fixed Windows build.
|
12 anni fa |
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 anni fa |
Lasse Öörni
|
606d374936
Added GetWorldBoundingBox() to CollisionShape.
|
12 anni fa |
Lasse Öörni
|
56a7f36a0c
Store the indices of a physics convex hull in preparation to using it for navigation data.
|
12 anni fa |
Lasse Öörni
|
d35f3b5035
Removed duplicate error message from ScriptCompiler when script compilation fails.
|
12 anni fa |
Lasse Öörni
|
e037de8c74
Added Enable/Disable flag for RigidBody.
|
12 anni fa |
Lasse Öörni
|
5a6ff56b1e
Added Enable flag to CollisionShape & Constraint (RigidBody still missing.)
|
12 anni fa |
Wei Tjong Yao
|
cddaa40080
Fixed ScriptInstance.cpp to compile under GCC and LLVM. Better Eclipse build environment setup. General code cleanup. During Editor startup, resets scene when loading requested scene from file specified by the parameter fails.
|
13 anni fa |
Lasse Öörni
|
20619d01b1
Converted Log into a monostate to allow logging without a Context pointer.
|
13 anni fa |
Lasse Öörni
|
9964055dda
Applied physics patch from Magic.Lixin.
|
13 anni fa |
Lasse Öörni
|
3dc3c836a6
Applied patch from weitjong, which improves OSX/iOS build, and removes dead code.
|
13 anni fa |
Lasse Öörni
|
aa1c2b8605
Added warning for creating any of the physics components into the root scene node, as that is unsupported and may not eg. reload properly.
|
13 anni fa |
Lasse Öörni
|
9d82a32c9e
Added constraint & collision shape type "none" as default value to avoid unnecessary creation of shapes on scene load, before proper attribute values are deserialized. Do not create shape/constraint in OnNodeSet(), as the type is always "none" at that time.
|
13 anni fa |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 anni fa |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 anni fa |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 anni fa |
Lasse Öörni
|
aa237fd45a
Added threaded update check to Zone & CollisionShape, as they do potentially non-threadsafe operations during OnMarkedDirty().
|
13 anni fa |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 anni fa |
Lasse Öörni
|
ee9809fade
Added warning message when triangle mesh or convex hull generation fails due to missing CPU-side (shadowed) geometry data.
|
13 anni fa |
Lasse Öörni
|
170ee77019
To avoid confusion when to use what, and as the performance is usually better, use only HashMap & HashSet instead of Map & Set.
|
13 anni fa |