Commit History

Author SHA1 Message Date
  Lasse Öörni 13cfad66ef RaycastVehicle code / comments formatting and AngelScript fix. RegisterRaycastVehicleLibrary function removed and class registration performed as part of Physics library initialization instead. 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 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. 9 years ago
  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. 9 years ago
  David Feltell 4418919180 Allow custom collision shapes + algorithms. 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 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
  Enhex e57cc88020 Added PhysicsWorld::RaycastSingleSegmented(). It's much more efficient for big scenes with many bodies in them. 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 d3d1538e5b Force the RigidBody's interpolation transform only inside FixedUpdate() to prevent strange behavior with parented rigidbodies. 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
  Ivan K ad2eb74d83 LOGERROR -> URHO3D_LOGERROR 10 years ago
  Ivan K 3a7e7f058e LOGWARNING -> URHO3D_LOGWARNING 10 years ago
  Ivan K db15f0358e PROFILE -> URHO3D_PROFILE 10 years ago
  Ivan K 3959d569fa MIXED_ACCESSOR_ATTRIBUTE -> URHO3D_MIXED_ACCESSOR_ATTRIBUTE 10 years ago
  Ivan K 212f419026 ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE 10 years ago
  Ivan K 431e29d2cd ATTRIBUTE -> URHO3D_ATTRIBUTE 10 years ago
  Ivan K 4bcbae61fe HANDLER -> URHO3D_HANDLER 10 years ago
  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. 10 years ago
  Lasse Öörni 04bbaf588a Make sure a null pointer is not returned from RigidBody::GetCollidingBodies(), if a colliding body was just destroyed. 10 years ago
  Lasse Öörni e0ce3e4ad0 Take into account CollisionShape's offset position & rotation in ConvexCast. Closes #856. 10 years ago
  Lasse Öörni adc04560ce Added warning for infinite PhysicsWorld raycast. 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 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. 10 years ago
  Yao Wei Tjong 姚伟忠 252206a207 Decouple Physics subsystem from DetourCrowd implementation. 10 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