summaryrefslogtreecommitdiffstats
path: root/servers/physics/space_sw.h
Commit message (Collapse)AuthorAgeFilesLines
* Renaming of servers for coherency.Juan Linietsky2020-03-271-208/+0
| | | | | | | | | | VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
* Fix code formatting issues and VS compilationRémi Verschelde2020-02-111-1/+1
| | | | | | | Also temporarily disable multicheck build so that we get a full build even when there are style issues on Vulkan. Fixes #33356.
* Refactored RID/RID_Owner to always use O(1) allocation.Juan Linietsky2020-02-111-1/+1
| | | | | * Implements a growing chunked allocator * Removed redudant methods get and getptr, only getornull is supported now.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Add a minimum treshold for acquiring rest contacts to avoid numerical ↵Juan Linietsky2019-02-161-0/+1
| | | | precision issues. Fixes #25074
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-3/+3
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Added ray / shape / point / motion / rest cast exclusion of area and or bodyAndrea Catania2018-08-211-6/+6
|
* Fixes to move and slide and ray separation, implement separation in Godot ↵Juan Linietsky2018-08-201-1/+2
| | | | physics
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania2018-02-201-1/+1
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Removed type_mask and fixed some variable nameAndreaCatania2017-11-211-6/+6
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-1/+1
| | | | Fixes #12973.
* Rename RayCasts collision_layer to collision_maskPedro J. Estébanez2017-10-211-6/+6
| | | | | | | | The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`. Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property. Fixes #7589, where it's also discussed.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson2017-07-221-1/+1
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-1/+1
| | | | -Added system for feature overrides, it's pretty cool :)
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-151-0/+6
| | | | | | | | -Added new 3D stream player node -Added ability for Area to capture sound from streams -Added small features in physics to be able to properly guess distance to areas for sound -Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children -Fixed KinematicBody API to make it the same as 2D.
* Refactor 'treshold' to 'threshold'Poommetee Ketson2017-07-081-2/+2
|
* Refactor layer_mask to collision_layerPoommetee Ketson2017-06-141-5/+5
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-45/+39
| | | | | | | | | | | | | | | | | | | | | | | | 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-8/+8
|\ | | | | Use real_t as floating point type in physics code.
| * Use real_t as floating point type in physics code.Ferenc Arn2017-02-131-8/+8
| | | | | | | | | | | | 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..
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-1/+1
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-1/+1
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | 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!
* | Expose more 2D/3D physics options in project settingsFabio Alessandrelli2016-10-031-0/+1
|/
* First version of ProfilerJuan Linietsky2016-05-211-0/+16
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* change intersect_ray function to discriminate pickable objects, fixes #3203Juan Linietsky2016-01-101-1/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* newline fixesreduz2015-10-081-187/+187
|
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-0/+8
| | | | | | | -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
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
* 3D Physics and Other StuffJuan Linietsky2014-09-021-2/+17
| | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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!
* Export linear/angular velocity sleep threshold;Change default linear ↵marynate2014-02-271-32/+32
| | | | velocity sleep threshold to 0.1;Fixed type treshold
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+157