Commit History

Autor SHA1 Mensaxe Data
  Lasse Öörni 13cfad66ef RaycastVehicle code / comments formatting and AngelScript fix. RegisterRaycastVehicleLibrary function removed and class registration performed as part of Physics library initialization instead. %!s(int64=8) %!d(string=hai) anos
  urho3d-travis-ci ee054a1507 Travis CI: bump copyright to 2017. %!s(int64=9) %!d(string=hai) anos
  Eugene Kozlov a69df6344a Replace new/delete with UniquePtr in simplest cases. %!s(int64=9) %!d(string=hai) anos
  Lasse Öörni d3cc0118e8 Handle flipping of normals in collision event sending if body pointers were swapped. Do not discard contact results from the "other" manifold, rather concatenate them into the same collision event. Thanks to Enhex for highlighting the issue. %!s(int64=9) %!d(string=hai) anos
  Lasse Öörni fe3b93080c Further style edits. Only delete the collisionConfiguration in PhysicsWorld destructor if it was created in the constructor, and not specified by the override config. %!s(int64=9) %!d(string=hai) anos
  David Feltell 4418919180 Allow custom collision shapes + algorithms. %!s(int64=9) %!d(string=hai) anos
  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. %!s(int64=9) %!d(string=hai) anos
  urho3d-travis-ci c4f6f315ff Travis CI: bump copyright to 2016. %!s(int64=10) %!d(string=hai) anos
  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. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni b110b4e51b Tabs to spaces. Add Lua API for RaycastSingleSegmented(). %!s(int64=10) %!d(string=hai) anos
  Enhex e57cc88020 Added PhysicsWorld::RaycastSingleSegmented(). It's much more efficient for big scenes with many bodies in them. %!s(int64=10) %!d(string=hai) anos
  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(). %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni d3d1538e5b Force the RigidBody's interpolation transform only inside FixedUpdate() to prevent strange behavior with parented rigidbodies. %!s(int64=10) %!d(string=hai) anos
  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. %!s(int64=10) %!d(string=hai) anos
  Ivan K ad2eb74d83 LOGERROR -> URHO3D_LOGERROR %!s(int64=10) %!d(string=hai) anos
  Ivan K 3a7e7f058e LOGWARNING -> URHO3D_LOGWARNING %!s(int64=10) %!d(string=hai) anos
  Ivan K db15f0358e PROFILE -> URHO3D_PROFILE %!s(int64=10) %!d(string=hai) anos
  Ivan K 3959d569fa MIXED_ACCESSOR_ATTRIBUTE -> URHO3D_MIXED_ACCESSOR_ATTRIBUTE %!s(int64=10) %!d(string=hai) anos
  Ivan K 212f419026 ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE %!s(int64=10) %!d(string=hai) anos
  Ivan K 431e29d2cd ATTRIBUTE -> URHO3D_ATTRIBUTE %!s(int64=10) %!d(string=hai) anos
  Ivan K 4bcbae61fe HANDLER -> URHO3D_HANDLER %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni e76dd6e4b9 Return cast travel distance using m_closestHitFraction in ConvexCast() result. If desired, the distance to hit position from start position (earlier behavior) can be calculated manually. Closes #906. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni 04bbaf588a Make sure a null pointer is not returned from RigidBody::GetCollidingBodies(), if a colliding body was just destroyed. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni e0ce3e4ad0 Take into account CollisionShape's offset position & rotation in ConvexCast. Closes #856. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni adc04560ce Added warning for infinite PhysicsWorld raycast. %!s(int64=10) %!d(string=hai) anos
  Yao Wei Tjong 姚伟忠 fa77a456f8 Reformat Urho3D source files to get rid of the indents on empty lines. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni 52b739e2a4 Initial work to separate Component's association with its owner node and scene (OnNodeSet() and OnSceneSet()). This should allow components to work properly when moved from one scene to another, or when created initially outside a scene, and be removed from rendering & physics when removed from the scene, even if the node's refcount keeps it alive after the removal. %!s(int64=10) %!d(string=hai) anos
  Yao Wei Tjong 姚伟忠 252206a207 Decouple Physics subsystem from DetourCrowd implementation. %!s(int64=10) %!d(string=hai) anos
  Lasse Öörni bb2ebf7568 Bump copyright to 2015. %!s(int64=11) %!d(string=hai) anos
  Yao Wei Tjong 姚伟忠 f719e3a429 Remove explicit inclusion of precompiled header file. %!s(int64=11) %!d(string=hai) anos