Jérôme Leclercq
95f137816a
Physics2D/PhysWorld2D: Add invStepCount argument to pre/post steps callbacks
2018-04-30 14:55:28 +02:00
Jérôme Leclercq
45af15d802
Physics[2|3]D/PhysWorld[2|3]D: Add max step count
2018-02-09 17:29:20 +01:00
Jérôme Leclercq
bb7c97ed9a
Add PhysWorld2D::UseSpatialHash
2018-02-09 17:25:11 +01:00
Jérôme Leclercq
17849226e4
Physics2D/PhysWorld2D: Add iteration count control
2018-02-09 17:24:00 +01:00
Jérôme Leclercq
7a04c6f83b
Physics2D/RigidBody2D: Add EnableSimulation/IsSimulationEnabled
2018-01-17 17:13:50 +01:00
germinolegrand
1e55c4d9e9
Prerequisites instead of Prerequesites (typo) #152 ( #153 )
2018-01-16 12:23:01 +01:00
Faymoon
4f6bf30f24
Constraint 2D ( #147 )
...
* Rename all Constraint by [name]Constraint3D
* Create Refs and Libraries for Constraint2D
* Remove ref to PhysWorld in Constraints ctors
* Update Constraint2d ctor to have RigiBodies first
* Add New static function for all constraints and fix an oopsie
* Add Contraint Library and remove all library useless aliases
* Add ConstraintComponent2D
* remove useless definition of Constraint2D library
* Fix : getting the world of the constraint before having created it
* Make the GetStaticBody function return a ref
* Remove : Useless AddJoint Fonction and Update CreateJoint function
* Update PhysicsSystem3D because GetStaticBody return now a ref
* Oops
* Having done something with the 3D and i was needing 2D
* Add ConstraintComponent as friend of Collision and PhysicsComponent
* Update all the Get[Static/Rigid]Body function so they return a pointer
* fix the bugs caused by the commit before
* update : CreateConstraint lambda for the nullptr case
* remove the useless use of const pointer
* Update : CreateConstraint function
* Update ChangeLog.md
2018-01-13 11:03:03 +01:00
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