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 лет назад |
Lasse Öörni
|
79628ef505
Fixed Constraint.cpp compile error in debug mode.
|
12 лет назад |
Lasse Öörni
|
63e4ff5b4b
Allow to query rigid body's center of mass.
|
12 лет назад |
Lasse Öörni
|
5feb2f9527
Calculate proper center of mass shift for rigid body. This makes eg. ragdolls work better.
|
12 лет назад |
Lasse Öörni
|
3989849c55
Tweaked ragdoll parameters in TestScene & TestSceneOld.
|
12 лет назад |
Lasse Öörni
|
bd3a4c30f4
Added vehicle physics example.
|
12 лет назад |
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 лет назад |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
12 лет назад |
Lasse Öörni
|
2afdf2675a
Fixed Windows build.
|
12 лет назад |
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 лет назад |
Lasse Öörni
|
d35f3b5035
Removed duplicate error message from ScriptCompiler when script compilation fails.
|
13 лет назад |
Lasse Öörni
|
5a6ff56b1e
Added Enable flag to CollisionShape & Constraint (RigidBody still missing.)
|
13 лет назад |
Lasse Öörni
|
3dc3c836a6
Applied patch from weitjong, which improves OSX/iOS build, and removes dead code.
|
13 лет назад |
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 лет назад |
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 лет назад |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 лет назад |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 лет назад |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 лет назад |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 лет назад |
Lasse Öörni
|
51c4336f2f
Moved HashMap & Vector allocations to .cpp files so that they can be more easily tracked.
|
13 лет назад |
Lasse Öörni
|
4666520d0b
Improved ragdoll stability in TestScene.
|
13 лет назад |
Lasse Öörni
|
70c58f43d9
Added SetWorldPosition() to Constraint.
|
13 лет назад |
Lasse Öörni
|
9f331e56db
Changed Constraint API to specify the other body position / axis explicitly, and to specify limits as Vector2.
|
13 лет назад |
Lasse Öörni
|
c554abccb8
Fixed crash related to incorrect constraint reference tracking.
|
13 лет назад |
Lasse Öörni
|
b636b3a211
Keep track of constraints to release them properly before deleting the rigid body.
|
13 лет назад |
Lasse Öörni
|
5f66411903
Fixed missing calls to MarkNetworkUpdate() in Constraint.
|
13 лет назад |
Lasse Öörni
|
8cdc6f69d2
Properly clean up event handlers referring to a deleted object.
|
13 лет назад |
Lasse Öörni
|
4335295b87
Added slider constraint.
|
13 лет назад |
Lasse Öörni
|
8b366d2db8
Set up hinge constraint frames manually.
|
13 лет назад |
Lasse Öörni
|
e5d42e36c8
Generalized the constraint code to save the other body relative position/axis, instead of world relative position/axis.
|
13 лет назад |