aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_server.h
Commit message (Collapse)AuthorAgeFilesLines
* Implemented interface for bullet joint motorsGeoffrey2018-03-161-0/+3
|
* Merge pull request #16757 from AndreaCatania/kinpushRémi Verschelde2018-02-201-1/+1
|\ | | | | Improved kinematic body, Now can move rigid body
| * Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania2018-02-201-1/+1
| |
* | Added Physics state APIsAndrea Catania2018-02-161-0/+2
|/
* Added physics API in order to enable/disable collisions between rigidbody ↵Andrea Catania2018-02-051-0/+3
| | | | | | attached to a joint with bullet physics bullet Fixes #16424
* Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-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!
* Implemented physics linear and angular lockAndreaCatania2017-12-101-2/+12
|
* Merge pull request #12756 from Stratos695/masterRémi Verschelde2017-12-091-10/+2
|\ | | | | Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500)
| * Allow double-axis lock in RigidBody and KinematicBodyEric Rybicki2017-11-101-10/+2
| |
* | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-6/+9
| |
* | Removed type_mask and fixed some variable nameAndreaCatania2017-11-211-26/+10
|/
* Rewritten kinematic systemAndreaCatania2017-11-071-1/+4
|
* Bullet physics engine implementationAndreaCatania2017-11-041-1/+1
| | | | | | This is a bullet wrapper that allows Godot to use Bullet physics and benefit about all features. Also it support all specific Godot physics functionality like multi shape body, areas, RayShape, etc.. It improve the Joints, Trimesh shape, and add support to soft body even if Godot is not yet ready to it.
* Implemented physics plugAndreaCatania2017-11-041-0/+37
| | | | | | | | | | | | | | | | | | | | 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
* Added new API to get body direct stateAndreaCatania2017-09-291-1/+4
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-3/+3
| | | | | | | | | | | 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.
* Dead code tells no talesRémi Verschelde2017-08-271-34/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-0/+2
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-8/+8
|
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-151-8/+30
| | | | | | | | -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-13/+13
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-238/+208
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+2
| | | | | 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-2/+2
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Fixed inertia tensor computation and center of massm4nu3lf2017-01-091-0/+4
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-5/+5
| | | | | | | | 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()
* 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!
* Port collision and layer masks to 3D, fixes #1759Bojidar Marinov2016-04-091-0/+6
| | | | Raycasts now have type_mask and layer_mask. Areas - collision_mask and layer_mask. PhysicsBodies needed only collision_mask.
* remove trailing whitespaceHubert Jarosz2016-03-091-2/+2
|
* 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
|
* Remove bogus argument in body_get_nodeRémi Verschelde2015-12-281-1/+1
|
* New and corrected are override modes.Ovnuniarchos2015-12-141-0/+2
|
* Ability to visually debug geometry visually:Juan Linietsky2015-09-201-0/+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 gravity scale, and linear/angular damp override to 3D physics.Juan Linietsky2015-08-301-4/+9
|
* added ability for Area (3D) to detect other areasJuan Linietsky2015-06-121-0/+3
|
* Calculate gravity based on distance from body to gravity pointFabio Alessandrelli2015-05-181-0/+1
|
* -new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky2015-05-031-2/+2
|
* -try to avoid errors when path using ".." is present in script include, ↵Juan Linietsky2015-04-181-1/+1
| | | | fixes #1703
* Huge Amount of BugFixJuan Linietsky2014-10-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -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)
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-13/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 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-5/+82
| | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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!
* Little BitsJuan Linietsky2014-08-141-0/+1
| | | | | | | | -=-=-=-=-=- -Fixed small bugs all around -Added ability to show/hide entire sections of the spatial (3D) tree -WIP new vehicle (not ready yet) based on Bullet
* A bit of everything:Juan Linietsky2014-05-141-0/+11
| | | | | | | | | | | | | -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.
* -improved physics ccdJuan Linietsky2014-02-191-1/+1
| | | | | | -html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken