Eugene Kozlov
|
29952585b1
Revert contacts auto-disabling.
|
8 years ago |
Eugene Kozlov
|
eba18bcc99
Add events for b2ContactListener::PreSolve callback. Suppress re-enabling contact on each update.
|
8 years ago |
Eugene Kozlov
|
fc88f5a32b
Expose additional info in PhysicsEvents2D.
|
8 years ago |
1vanK
|
658baf4f3a
Add info about shapes to PhysicsEvents2D
|
8 years ago |
1vanK
|
c5014a8399
Update Box2D lib, add RigidBody2D::ApplyLinearImpulseToCenter()
|
8 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Eugene Kozlov
|
a69df6344a
Replace new/delete with UniquePtr in simplest cases.
|
9 years ago |
Lasse Öörni
|
5b67d284e1
Let Box2D world stay at default values for continuous (true) & substepping (false), since substepping enabled leads to erratic behavior under load. Closes #1592.
|
9 years ago |
Lasse Öörni
|
d9c0ce7f15
Send also node-specific 2D collision events. Closes #1535.
|
9 years ago |
fredakilla
|
39344c41fe
Add b2Contact ptr to E_PHYSICSBEGINCONTACT2D and E_PHYSICSENDCONTACT2D events
|
9 years ago |
Lasse Öörni
|
86adac5ff7
When a 2D rigidbody is parented, make sure the transforms are applied in parent->child order. Also apply the world position also for a static or sleeping rigidbody when it's parented, to make sure the simulation and rendering transforms stay in sync. Fix possible issue with null weakptr during physics 2D update. Closes #1183.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |
Lasse Öörni
|
a9e62241a7
Unify fixed update source handling in ScriptInstance, LuaScriptInstance & LogicComponent. It can now be either PhysicsWorld or PhysicsWorld2D. Remove auto-creation of PhysicsWorld from ScriptInstance, as LogicComponent or LuaScriptInstance don't do that either, and the ScriptInstance can not known whether PhysicsWorld or PhysicsWorld2D should be created.
|
10 years ago |
Lasse Öörni
|
d4a5b74cc5
Also add updateEnabled to PhysicsWorld. Make Scene, PhysicsWorld and PhysicsWorld2D behave in the same way: when auto update is disabled, manual stepping can still be performed. Rewrite some comments for clarity.
|
10 years ago |
cosmy
|
04996445cc
Add function to control 2D physics update
|
10 years ago |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
10 years ago |
Ivan K
|
212f419026
ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE
|
10 years ago |
Ivan K
|
4bcbae61fe
HANDLER -> URHO3D_HANDLER
|
10 years ago |
aster2013
|
b7ee2575d7
Convert tab to spaces, [ci skip]
|
10 years ago |
aster2013
|
1ab328db34
Only apply world transform for active and awake rigid body.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
7ac5c2d542
Fix remaining classes for OnSceneSet().
|
10 years ago |
Lasse Öörni
|
680d334a99
Fix Physics2D events not getting included in events documentation. Fix alphabetic sorting of event documentation sections according to header file name, not full path. Fix Physics2DPreStep2D event name to PhysicsPreStep2D to match the rest. Closes #652.
|
11 years ago |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
f719e3a429
Remove explicit inclusion of precompiled header file.
|
11 years ago |
Mike3D
|
0f8f50c35c
Removed tab
|
11 years ago |
Mike3D
|
4a6355b136
Fix GetRigidBodies in PhysicsWorld2D
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
359efb2d37
Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
0a2e601307
Change the include path for Precompiled header to fix MSVC build.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b51e419c88
Change impl. file to include the header file from corresponding subdir.
|
11 years ago |