Commit Graph

40 Commits

Author SHA1 Message Date
Jérôme Leclercq 58e6c8e36c Physics2D/RigidBody2D: Fix movement not moving registered and simulation enabled states 2018-01-18 10:32:48 +01:00
Jérôme Leclercq 7a04c6f83b Physics2D/RigidBody2D: Add EnableSimulation/IsSimulationEnabled 2018-01-17 17:13:50 +01:00
Lynix 72bcb1fda7 Physics2D/RigidBody2D: Fix SetGeom attribute copy 2017-11-28 23:20:45 +01:00
Gawaboumga f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +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
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
Lynix 508554fcb1 Fix some more warnings 2017-09-30 15:00:42 +02:00
Lynix 53020f27a5 Physics2D/RigidBody2D: Fix mass incorrectly reported at 0 after copy 2017-09-07 18:38:31 +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
Jérôme Leclercq c087003bda Physics2D/RigidBody2D: Use kinematic object instead of static ones when mass is set to zero 2017-09-01 13:34:04 +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
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 e0ede5bf2d Physics2D/RigidBody2D: Little refactor 2017-06-20 06:59:53 +02:00
Gawaboumga 47a22c2785 Fix wrong aabb returned from PhysicsComponent2D (#127) 2017-06-20 06:53:39 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Jérôme Leclercq 43f8f21df6 Physics2D/RigidBody2D: Fix SetMass occasionnal crash 2017-03-08 13:16:53 +01:00
Jérôme Leclercq 78d6a69bcb Physics2D/PhysWorld2D: Fix SetMass calls during callbacks 2017-03-07 09:36:29 +01:00
Lynix 04f7b40150 Physics2D/RigidBody2D: Fix querying 2017-03-02 13:07: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 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 f34d390216 Physics2D/RigidBody2D: Fix AddForce application point for Global coordinate system 2016-11-18 18:12:48 +01:00
Lynix e4f507e67f Physics2D/RigidBody2D: Fix collisions 2016-11-18 18:03:40 +01:00
Lynix 23a85fb5ab Physics2D/RigidBody2D: Fix removal of body from space 2016-11-15 16:01:39 +01:00
Lynix e4c89f2763 Physics2D/RigidBody2D: Fix SetMass need to be called twice 2016-11-10 17:24:22 +01:00
Lynix 9772b43542 Physics2D/RigidBody2D: Made SetGeom public 2016-11-10 17:18:44 +01:00
Lynix 438d8e918c Physics2D/RigidBody2D: Remove gravity factor 2016-10-17 17:53:49 +02:00
Lynix 5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +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