Lasse Öörni
|
d2c47a14c4
Add hit fraction to PhysicsRaycastResult and set it for all physics cast tests. Similar to ConvexCast, set SphereCast result distance based on hit fraction. Closes #1120.
|
10 years ago |
Lasse Öörni
|
b110b4e51b
Tabs to spaces. Add Lua API for RaycastSingleSegmented().
|
10 years ago |
Lasse Öörni
|
310c32db9e
Adapt PhysicsWorld::GetRigidBodies() to use Nick Royer's immediate contact test code to work with static bodies properly. (https://github.com/urho3d/Urho3D/pull/1077) Exposed PhysicsWorld::GetCollidingBodies() for the previous behavior, similar to RigidBody::GetCollidingBodies().
|
10 years ago |
Lasse Öörni
|
c614a5d321
Retain node's Z position when applying 2D physics transform. Code cleanup. Closes #1045.
|
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 |
Yao Wei Tjong 姚伟忠
|
7dd9143f59
Fix the include path for the generated Lua API bindings.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b51e419c88
Change impl. file to include the header file from corresponding subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
bcf7c94ec8
Rename Source/Engine to Source/Urho3D.
|
11 years ago |