Commit Graph

39 Commits

Author SHA1 Message Date
Lynix 72bcb1fda7 Physics2D/RigidBody2D: Fix SetGeom attribute copy 2017-11-28 23:20:45 +01:00
Jérôme Leclercq 6e7b78611d Physics2D/RigidBody2D: Add SetStatic method 2017-10-16 11:56:41 +02:00
Jérôme Leclercq 101783126c Physics2D: Add DebugDraw method 2017-10-13 15:14:37 +02:00
Lynix 85aa01a562 Physics2D: Add constraint support 2017-10-10 21:52:35 +02:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Jérôme Leclercq b4d0854028 Physics2D/PhysWorld2D: Add damping control 2017-09-08 09:41:08 +02:00
Jérôme Leclercq 3153af485c Physics2D: Handle kinematic objects properly 2017-09-07 16:16:11 +02:00
Jérôme Leclercq 38bd348ed6 Physics2D/RigidBody2D: Allows better control on inertia 2017-09-01 14:26:28 +02:00
Gawaboumga 41a1b5d493 Physics2D tests (#129)
* Quaternion: Fix singularity on Z axis when converting to euler angles

* CollisionComponent2D: Add method to retrieve AABB

* Collider2D: Fix constructor for Box with Vector2

* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D

* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Lynix e512302305 RigidBody2D: Add experimental SetMomentOfInertia method 2017-08-06 23:46:55 +02:00
Lynix 74af157113 PhysWorld2D: Use std::function for callbacks 2017-08-06 23:08:36 +02:00
Jérôme Leclercq afdc018778 Physics2D/Collider2D: Implement CompoundCollider2D and ConvexCollider2D 2017-07-27 11:39:23 +02:00
Jérôme Leclercq b00487c88c PhysicsID/RigidBody: Add GetWorld() accessor 2017-07-25 14:44:30 +02:00
Lynix 33b10989e2 Physics2D/PhysWorld2D: Initialize callbacks to nullptr to prevent misuse 2017-04-21 21:39:37 +02:00
Lynix 5ec913311f Physics2D/PhysWorld2D: Add RegionQuery method 2017-03-30 16:32:29 +02:00
Lynix 4d932e9317 PhysWorld2D: Ensure PostStepContainer is move-constructible noexcept 2017-03-10 11:36:58 +01:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Jérôme Leclercq 78d6a69bcb Physics2D/PhysWorld2D: Fix SetMass calls during callbacks 2017-03-07 09:36:29 +01:00
Jérôme Leclercq ede6dd90b8 Physics2D/PhysWorld: Add Raycast queries 2017-03-06 14:02:35 +01:00
Lynix 04f7b40150 Physics2D/RigidBody2D: Fix querying 2017-03-02 13:07:02 +01:00
Lynix a50a822fad Physics2D/PhysWorld2D: Fix NearestBodyQuery 2017-03-02 11:22:59 +01:00
Lynix 834f65c0ae Physics2D/PhysWorld2D: Add optimized NearestBodyQuery 2017-03-02 10:34:02 +01:00
Jérôme Leclercq 5ebf125474 Physics2D: Add NearestBodyQuery 2017-03-01 17:40:12 +01:00
Jérôme Leclercq f22dd81d35 Physics2D/RigidBody2D: Add AddImpulse method 2017-02-27 16:30:18 +01:00
Jérôme Leclercq b1e4aea496 Physics2D/RigidBody2D: Add signal for movement/release 2017-02-22 16:52:34 +01:00
Jérôme Leclercq 45262145aa Physics2D/RigidBody2D: Add Userdata field 2017-02-22 15:31:51 +01:00
Jérôme Leclercq d68cb35056 Physics2D/Collider2D: Fix collision id and trigger default values 2017-02-21 17:02:52 +01:00
Jérôme Leclercq 7b47a6ad2e Physics2D: Add support for trigger and callbacks 2017-02-21 15:58:31 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix ac2193e0c2 Physics2D: Add support for SegmentCollider2D 2016-11-18 18:00:48 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Lynix 9772b43542 Physics2D/RigidBody2D: Made SetGeom public 2016-11-10 17:18:44 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 438d8e918c Physics2D/RigidBody2D: Remove gravity factor 2016-10-17 17:53:49 +02:00
Lynix f18a84810f Physics2D: Add BoxCollider2D class 2016-10-17 17:53:34 +02:00
Ardakaniz 33e4c89b73 Rename 'Physics 3D' to 'Physics 2D' in files head 2016-10-14 19:34:49 +02:00
Lynix f3e041c4c0 Physics2D/RigidBody2D: Temporary remove SetGeom to fix a linking error 2016-10-14 18:01:24 +02:00
Lynix 119436a642 Physics2D/RigidBody2D: Cleanup and fix memory leak 2016-10-14 17:56:50 +02:00
Lynix 9a7767867b Push the current work on the Physics2D module 2016-10-14 17:07:13 +02:00