summaryrefslogtreecommitdiff
path: root/servers/physics_2d_server.cpp
AgeCommit message (Collapse)Author
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-21Removed type_mask and fixed some variable nameAndreaCatania
2017-11-10Remove node from list before calling queries, fixes #10886Juan Linietsky
2017-11-09Reworked how servers preallocate RIDs, should fix #10970Juan Linietsky
2017-11-03Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky
Physics server plug
2017-11-04Implemented physics plugAndreaCatania
Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
2017-10-22Bind unbound enums, rearrange some by valuePoommetee Ketson
2017-09-29Added new API to get body direct stateAndreaCatania
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-07-08Refactor 'treshold' to 'threshold'Poommetee Ketson
2017-06-23-Trigger shapes removed in 2D, they became obsolete long ago when areas ↵Juan Linietsky
could detect their own overlap -Added ability to disable individual collisionshape/polygon -Moved One Way Collision to shape, allowing more flexibility -Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer. -Modifying a CollisionPolygon2D on the fly now works, it can even be animated. Will port this to 3D once well tested. Have fun!
2017-06-14Refactor layer_mask to collision_layerPoommetee Ketson
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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.
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-09-01-Fixed issue in Kinematicbody2DJuan Linietsky
2016-06-12Documented many Physics2D* classesOvnuniarchos
2016-05-04Fix wrong return and argument types in documentationIgnacio Etcheverry
2016-04-26RigidBody2D (add_force, set_inertia): new methods.Josh Grams
2016-04-20RigidBody2D: add and bind get_inertia() method.Josh Grams
You can't set this value very well, since it's automatically computed from the mass and the collision shapes. But since the values are higher than many people might suspect, so being able to read it helps estimate the amount of torque you might need to apply.
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-28Add missing argument names in GDScript bindingsRémi Verschelde
All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-22Merge pull request #3071 from Ovnuniarchos/NewAreaCombinersJuan Linietsky
New and corrected area override modes.
2015-12-14replaced :var by :Variant in documentation, fixes #2897Juan Linietsky
2015-12-14New and corrected are override modes.Ovnuniarchos
2015-06-07Merge pull request #1932 from Faless/gravity_distance_fullJuan Linietsky
Calculate gravity based on distance from body to gravity point
2015-05-26oops, previous commit was not workingJuan Linietsky
it is working now
2015-05-18Calculate gravity based on distance from body to gravity point (2D)Fabio Alessandrelli
2015-05-03-new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky
2015-05-01-Fixes from source code analyzizer, closes #1768Juan 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-18Updated copyright year in all headersJuan Linietsky
2015-03-22fixes/cleans upJuan Linietsky
-input now correctly works when using viewport scaling -added function to get areas/bodies in given point -added function to get space state directly from world
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