aboutsummaryrefslogtreecommitdiff
path: root/servers/physics/space_sw.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-22/+14
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-8/+8
| | | | Fixes #12973.
* Disabled filter clip by default and made it optional, fixes #12368, likely ↵Juan Linietsky2017-11-101-2/+2
| | | | others too
* Rename RayCasts collision_layer to collision_maskPedro J. Estébanez2017-10-211-14/+14
| | | | | | | | 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.
* Dead code tells no talesRémi Verschelde2017-08-271-23/+2
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Removed unnecessary assignmentsWilson E. Alvarez2017-08-211-7/+3
|
* Fix early-accepting area-area match when masks don't matchPedro J. Estébanez2017-07-251-3/+3
|
* 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/+417
| | | | | | | | -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-4/+4
|
* Refactor layer_mask to collision_layerPoommetee Ketson2017-06-141-12/+12
|
* renamed all Rect3.pos to Rect3.positionalexholly2017-06-091-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-2/+2
| | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-316/+243
| | | | | | | | | | | | | | | | | | | | | | | | 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-11/+11
|\ | | | | Use real_t as floating point type in physics code.
| * Use real_t as floating point type in physics code.Ferenc Arn2017-02-131-11/+11
| | | | | | | | | | | | 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-2/+4
| | | | | 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-5/+5
| | | | | | | | | | | | 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-3/+3
| | | | | | | | 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!
* Expose more 2D/3D physics options in project settingsFabio Alessandrelli2016-10-031-1/+1
|
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-081-4/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* First version of ProfilerJuan Linietsky2016-05-211-0/+4
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* remove trailing whitespaceHubert Jarosz2016-03-091-1/+1
|
* change intersect_ray function to discriminate pickable objects, fixes #3203Juan Linietsky2016-01-101-2/+2
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Fix wrong index being used to populate r_resultsRémi Verschelde2015-12-041-10/+10
| | | Regression from f33d9da.
* Fix can_move_to and rename it for more clarityRémi Verschelde2015-11-221-2/+4
| | | | | | | | | | Fixes #2416. The KinematicBody::can_move_to function was likely designed for two behaviours: - discrete: check if the body can "teleport" to the destination - continuous: check if the direct path to the destination is valid The continuous behaviour was however not implemented, and the discrete behaviour was broken too due to a wrong call to intersect_shape. The discrete behaviour has thus been fixed and the function renamed to can_teleport_to for more clarity.
* Fix 3D Area mask matchingeska2015-10-101-3/+3
|
* newline fixesreduz2015-10-081-746/+746
|
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-1/+3
| | | | | | | -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
* added ability for Area (3D) to detect other areasJuan Linietsky2015-06-121-6/+9
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* input events on Area2D is now supportedJuan Linietsky2015-03-221-1/+1
| | | | also added a demo showing how this works
* Huge Amount of BugFixJuan Linietsky2014-10-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -Fixes to Collada Exporter (avoid crash situtions) -Fixed to Collada Importer (Fixed Animation Optimizer Bugs) -Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy -Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode. -Added proper trigger support for 3D Physics shapes -Changed proper value for Z-Offset in OmniLight -Fixed spot attenuation bug in SpotLight -Fixed some 3D and 2D spatial soudn bugs related to distance attenuation. -Fixed bugs in EventPlayer (channels were muted by default) -Fix in ButtonGroup (get nodes in group are now returned in order) -Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK -Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot -Fixed options for Y-Fov and X-Fov in camera, should be more intuitive. -Fixed bugs related to viewports and transparency Huge Amount of New Stuff: -=-=-=-=-=-=-=-==-=-=-=- -Ability to manually advance an AnimationPlayer that is inactive (with advance() function) -More work in WinRT platform -Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC -Added Anisotropic filter support to textures, can be specified on import -Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap. -Added Isometric Dungeon demo. -Added simple hexagonal map demo. -Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore. -Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
* More Bugfix...Juan Linietsky2014-09-171-0/+4
| | | | | | | | -=-=-=-=-=-== -Fix bug in camera follow script -Fix negate operator not working in shader language -Fix uninitialized pointer in raycast query API
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 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-7/+306
| | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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-34/+35
| | | | velocity sleep threshold to 0.1;Fixed type treshold
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+429