summaryrefslogtreecommitdiff
path: root/servers/physics_2d
AgeCommit message (Collapse)Author
2016-01-04-Fix crash at exit due to unnecesary check in command queue, fixes #2034Juan Linietsky
-Fix memory corruption due to using wrong singleton in multithreaded physics, fixes #2760
2016-01-03physics state properly returns contact metadata, closes #1979Juan Linietsky
2016-01-02skip the first integration in physics bodies, fixes #2213Juan Linietsky
2016-01-01properly removing unprocessed objects from physics islands fixes one way ↵Juan Linietsky
platforms for rigidbodies, closes #2345
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-31remove error print in area collision, should be a valid situation, closes #2463Juan Linietsky
2015-12-14New and corrected are override modes.Ovnuniarchos
2015-12-08Areas now calculate their dampenings the same way as their gravity.Ovnuniarchos
2015-11-19-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-10-17Merge pull request #2587 from eska014/fix-area2d-mask-matchingJuan Linietsky
Fix Area/Area2D mask matching
2015-10-10Expose softness parameter of pin joint to the editor.Biliogadafr
2015-10-09Fix Area2D type mask matchingeska
2015-09-20Ability to visually debug geometry visually:Juan Linietsky
-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
2015-09-03merged some stuff for okamJuan Linietsky
2015-08-30Added gravity scale, and linear/angular damp override to 3D physics.Juan Linietsky
2015-06-30small fixesJuan Linietsky
2015-06-07Merge pull request #1932 from Faless/gravity_distance_fullJuan Linietsky
Calculate gravity based on distance from body to gravity point
2015-05-27-fix bug in animation editorJuan Linietsky
-fix crash bug in physics motion, closes #1993
2015-05-26oops, previous commit was not workingJuan Linietsky
it is working now
2015-05-26ability to run 2D physics in a threadJuan Linietsky
also, 2D physics is now thread safe too. see physics_2d/thread_model
2015-05-18Calculate gravity based on distance from body to gravity point (2D)Fabio Alessandrelli
2015-05-16sleeping property now should work properly, fixes #1892Juan Linietsky
2015-05-10-improved one-way collision handling in both dynamic and character bodies ↵Juan Linietsky
for 2D, fixes #1854
2015-05-03improved kinematic motion, improved demos for kinematic motionJuan Linietsky
2015-05-03-Made one way collision work with 2D physics (rigidbody)Juan Linietsky
2015-05-03-new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky
2015-04-26properly wake up bodies when a parameter changes, fixes #1740Juan Linietsky
2015-04-24casting line into physics on negative space now works properly, fixes #1726Juan Linietsky
2015-04-19-Rewritten KinematicBody2D::move to MUCH more efficient code.Juan Linietsky
-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.
2015-04-18Merge pull request #1691 from Faless/area_combine_2dJuan Linietsky
Implement Area2D space_override_mode = COMBINE
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-14Fix operator definition for AreaCMPFabio Alessandrelli
2015-04-14Implement Area2D space_override_mode combineFabio Alessandrelli
2015-03-22fix area center of gravityJuan Linietsky
2015-03-22input events on Area2D is now supportedJuan Linietsky
also added a demo showing how this works
2015-03-17Area2D can now detect overlap with other areasJuan Linietsky
this should make everything simpler, specially for newcomers to Godot
2015-01-18-intentional breakage of shader graph to fix issues, existing graphs will be ↵Juan Linietsky
broken, sorry :(
2015-01-13-Add support for one-way collision in 2D (only works for kinematic body so far)Juan Linietsky
-Solve drawing order bug introduced in previous commit: solves #1214
2015-01-13-begin work on unidirectional collision detectionJuan Linietsky
-fixed performance issue in new 2D engine -texscreen() working in shader 2D
2015-01-05-CCD in 3D physics was not working (code was not even there!) re-added, ↵Juan Linietsky
fixes 1067
2015-01-05Changes to 2D physics engineJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Removed "density" property -Added instead more flexible "angular damp" and "linear damp" -Added ability to override angular and linear damp in rigidbody -Added gravity scale option rigidbody Test well and iron out bugs, when it works the same will be moved to 3D
2014-11-06missing files with fixes for shower of bulletsJuan Linietsky
2014-11-02Bug FixesJuan Linietsky
-=-=-=-=- -Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia -Added support for multiline strings (or comments) using """ -Save subscene bug, properties not being saved in root node (#806) -Fix Crash in CollisionPolygon2DEditor (#814) -Restored Ability to compile without 3D (#795) -Fix InterpolatedCamera (#803) -Fix UV Import for OBJ Meshes (#771) -Fixed issue with modifier gizmos (#794) -Fixed CapsuleShape gizmo handle (#50) -Fixed Import Button (not properly working in 3D) (#733) -Many misc fixes (though no new features)
2014-10-16-added custom metadata to physics shapes (2D only for now)Juan Linietsky
-gizmos are not displayed in camera preview
2014-10-14ColladaJuan Linietsky
-=-=-=- -Fixed some DAE import & export bugs -Changed Collada exporter to use the mesh loops API -Added tangent export to Collada exporter -Added triangulation option to Collada exporter -Changed a little how normalmaps are handled in shader. Not sure if it's working properly, be careful. -Fixed some strange bug with kinematic bodies #776 -Fix release compilaiton issues #782
2014-10-03missing fils from yesterday comit.Juan Linietsky
must have made some mistake with git, not sure why they were not sent..
2014-10-03Huge Amount of BugFixJuan Linietsky
-=-=-=-=-=-=-=-=-=-=- -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)
2014-09-153D Physics Rework, Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- 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.
2014-09-023D Physics and Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -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!