aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_2d_server_sw.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-361/+250
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Merge pull request #7802 from tagcup/physics_64bitRémi Verschelde2017-02-261-13/+13
|\ | | | | Use real_t as floating point type in physics code.
| * Use real_t as floating point type in physics code.Ferenc Arn2017-02-131-13/+13
| | | | | | | | | | | | This is a continuation of an on-going work for 64-bit floating point builds, started in PR #7528. Covers physics, physics/joints and physics_2d code. Also removed matrixToEulerXYZ function in favor of Basis::get_euler.
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
|/ | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-7/+11
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Type renames:Juan Linietsky2017-01-111-14/+14
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-1/+1
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* -Fixed issue in Kinematicbody2DJuan Linietsky2016-09-011-2/+2
|
* First version of ProfilerJuan Linietsky2016-05-211-1/+44
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* RigidBody2D (add_force, set_inertia): new methods.Josh Grams2016-04-261-0/+9
|
* physics state properly returns contact metadata, closes #1979Juan Linietsky2016-01-031-0/+3
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Expose softness parameter of pin joint to the editor.Biliogadafr2015-10-101-0/+19
|
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-0/+24
| | | | | | | -Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
* ability to run 2D physics in a threadJuan Linietsky2015-05-261-6/+12
| | | | | also, 2D physics is now thread safe too. see physics_2d/thread_model
* -new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky2015-05-031-4/+20
|
* properly wake up bodies when a parameter changes, fixes #1740Juan Linietsky2015-04-261-2/+7
|
* -Rewritten KinematicBody2D::move to MUCH more efficient code.Juan Linietsky2015-04-191-0/+12
| | | | | | -KinematicBody2D::move now properly recognizes collision exceptions and masks, fixes #1649 -Removed object type masking for KinematicBody2D -Added a test_motion() function to RigidBody2D, allowing simlar behavior to KinematicBody2D::move there.
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* input events on Area2D is now supportedJuan Linietsky2015-03-221-0/+15
| | | | also added a demo showing how this works
* Area2D can now detect overlap with other areasJuan Linietsky2015-03-171-0/+18
| | | | this should make everything simpler, specially for newcomers to Godot
* -Add support for one-way collision in 2D (only works for kinematic body so far)Juan Linietsky2015-01-131-0/+30
| | | | -Solve drawing order bug introduced in previous commit: solves #1214
* -begin work on unidirectional collision detectionJuan Linietsky2015-01-131-0/+16
| | | | | -fixed performance issue in new 2D engine -texscreen() working in shader 2D
* -added custom metadata to physics shapes (2D only for now)Juan Linietsky2014-10-161-0/+16
| | | | -gizmos are not displayed in camera preview
* 3D Physics and Other StuffJuan Linietsky2014-09-021-0/+32
| | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too. -A lot of fixes to the 3D physics engine -Added KinematicBody with demo -Fixed the space query API for 2D (demo will come soon). 3D is WIP. -Fixed long-standing bug with body_enter/body_exit for Area and Area2D -Performance variables now includes physics (active bodies, collision pairs and islands) -Ability to see what's inside of instanced scenes! -Fixed Blend Shapes (no bs+skeleton yet) -Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
* A bit of everything:Juan Linietsky2014-05-141-0/+16
| | | | | | | | | | | | | -IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM. -New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally. -Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept. -Several fixes and improvements to SurfaceTool. -Anti Aliasing added to WorldEnvironment effects (using FXAA) -2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which. -2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before) -Viewport render target textures can now be filtered. -Few fixes in GDscript make it easier to work with static functions and class members. -Several and many bugfixes.
* -Added google play services (needed for some stuff)Juan Linietsky2014-04-141-1/+1
| | | | | | | | | -Added new screen resizing options, stretch_2d is removed, new much more flexible ones. -Fixed bug in viewport (can create more instances in 3d-in-2d demo now) -Can set android permissions and screen sizes manually in the export settings -Changed export templates extension to .tpz (too many people unzipped the manually..) -File dialog now ensures that the proper extension is used (will not allow to save without it) -Fixed bug that made collision exceptions not work in 2D
* -added kinematic bodyJuan Linietsky2014-02-221-3/+9
| | | | -added kinematic body demos
* -improved physics ccdJuan Linietsky2014-02-191-15/+81
| | | | | | -html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+1046