summaryrefslogtreecommitdiffstats
path: root/modules/bullet
Commit message (Collapse)AuthorAgeFilesLines
* Fixed crash if convex has 0 verticesAndrea Catania2018-08-291-0/+3
|
* Initialise rays_found count in test_ray_separation.Ibrahn Sahir2018-08-291-1/+1
| | | | | Prevents branch on uninit that could result in crashes with move_and_slide.
* Fix build after c2a9cb34Rémi Verschelde2018-08-274-16/+5
| | | | | `return` statements were missing, and those warnings do not need to be behind #ifdefs, they do not expose any deprecated API.
* Correctly set safe_motion on cast_motion query Fixes: #21212Andrea Catania2018-08-261-1/+3
|
* Added deprecated to joints un/used parametersAndrea Catania2018-08-264-16/+33
|
* Merge pull request #21049 from AndreaCatania/jointsRémi Verschelde2018-08-245-74/+13
|\ | | | | Improved 6DOF joint implementation
| * Improved 6DOF joint implementation, and removed useless function from cone jointAndrea Catania2018-08-155-74/+13
| |
* | Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-243-7/+9
| |
* | Added ray / shape / point / motion / rest cast exclusion of area and or bodyAndrea Catania2018-08-214-30/+103
| |
* | Merge pull request #20101 from panzergame/shape_marginRémi Verschelde2018-08-214-29/+55
|\ \ | | | | | | Expose bullet shape margin to UI.
| * | Expose bullet shape margin to UI.Tristan Porteries2018-08-164-29/+55
| | | | | | | | | | | | | | | | | | | | | | | | The margin value is exposed into the UI for shape ressource. This value can be modified through set_margin and get from get_margin or by using the property margin. Each time the margin is modified the associated collision shape is recreated and the margin value is used in ShapeBullet::prepare.
* | | Fixes to move and slide and ray separation, implement separation in Godot ↵Juan Linietsky2018-08-204-6/+6
| | | | | | | | | | | | physics
* | | Merge pull request #20908 from AndreaCatania/kiSlopeJuan Linietsky2018-08-205-5/+145
|\ \ \ | | | | | | | | Improved move_and_slide function stay on slope
| * | | Added ray shape and move_and_slide with snapping on 3D.Andrea Catania2018-08-195-3/+143
| | | | | | | | | | | | | | | | Added stop_on_slope on 2d part
| * | | Improved move_and_slide function to stay on slope and fall on steep slopeAndrea Catania2018-08-181-2/+2
| | |/ | |/|
* / | Bullet picking will now ignore objects without input_ray_pickableJohn Teasdale2018-08-191-2/+2
|/ /
* | Merge pull request #20381 from AndreaCatania/phymat_2Juan Linietsky2018-08-075-76/+2
|\ \ | | | | | | Improved Physics material
| * | Removed physics material combination mode. Added rough and absorbent ↵Andrea Catania2018-08-075-76/+2
| | | | | | | | | | | | parameter to material. Fixed 'change' signal connection
* | | Fixed SoftBody pinned point offset calculationAndrea Catania2018-08-031-1/+1
| | |
* | | Merge pull request #15643 from organicpencil/bullet_contact_impulseRémi Verschelde2018-07-263-4/+12
|\ \ \ | | | | | | | | Expose PhysicsDirectBodyState.get_contact_impulse
| * | | Expose PhysicsDirectBodyState.get_contact_impulseLee Pugh2018-01-123-4/+12
| | | |
* | | | Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-267-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Modified RigidBody, PhysicsDirectBodyState, PhysicsServer, and their ↵Tiger Caldwell2018-07-244-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | respective 2D counterparts to be more consistent and to include more useful methods. RigidBody: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse RigidBody2D: - Added add_central_force - Added add_torque - Added apply_central_impulse - Added apply_torque_impulse PhysicsDirectBodyState: - Added apply_central_impulse Physics2DDirectBodyState: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse - Added apply_impulse - Added apply_torque_impulse PhysicsServer: - Added body_add_force - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse Physics2DServer: - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse - Added body_apply_torque_impulse Also fixed some small bugs along the way
* | | | Implemented Soft bodyAndreaCatania2018-07-238-211/+603
| |/ / |/| | | | | | | | | | | | | | | | | - Soft Body Physics node - Soft Body Rendering - Soft body Editor - Soft body importer
* | | Merge pull request #12403 from AndreaCatania/phymatJuan Linietsky2018-07-235-1/+82
|\ \ \ | | | | | | | | Physics material
| * | | Implemented physics materialAndreaCatania2018-05-115-1/+82
| | | | | | | | | | | | | | | | | | | | | | | | Hidden a function Fixed travis static check
* | | | -Fix disable_3d flagJuan Linietsky2018-07-211-1/+4
| | | | | | | | | | | | | | | | -Add extra flag optimize=[size,speed] to be able to prioritize size
* | | | added cylinder shape supportmuiroc2018-07-014-0/+62
| |_|/ |/| |
* | | SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | | | | | | | | | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* | | Improved kinematic test_body_motion codeAndrea Catania2018-05-271-48/+34
|/ /
* | Merge pull request #17559 from simedis/joint_motorsRémi Verschelde2018-05-081-0/+13
|\ \ | | | | | | Implemented interface for bullet linear motors
| * | Implemented interface for bullet joint motorsGeoffrey2018-03-161-0/+13
| | |
* | | Implemented ragdollAndreaCatania2018-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll a Implemented implicit hierarchy. Improved Added some physics properties Added bone offset to preserve COM, partially fixed scaling work in progress WIP wip Implemented Joint Gizmos Implemented pin joint joint Implemented all joints
* | | Merge pull request #18204 from tagcup/quat_scaleRémi Verschelde2018-04-182-5/+5
|\ \ \ | | | | | | | | Avoid converting Quat to Euler angles when not necessary.
| * | | Avoid converting Quat to Euler angles when not necessary.tagcup2018-04-142-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis. Added various missing functions and constructors. Should close #17968.
* | | | Removed useless checkAndrea Catania2018-04-121-8/+2
|/ / /
* | | Fixed wrong function callAndrea Catania2018-04-121-1/+1
| | |
* | | Rigidbody wake up when hitten by a kinematic bodyAndrea Catania2018-04-121-1/+4
| | |
* | | Fixed area overlap cleaningAndrea Catania2018-04-093-16/+14
| | |
* | | Merge pull request #17899 from AndreaCatania/area_cleaningRémi Verschelde2018-04-063-8/+8
|\ \ \ | | | | | | | | Fixed physics server area cleaning
| * | | Fixed physics server area cleaningAndrea Catania2018-04-063-8/+8
| |/ /
* | | Merge pull request #17806 from Zylann/fix_heightmap_shape_size_checkRémi Verschelde2018-04-052-14/+47
|\ \ \ | | | | | | | | Make heightmap shape usable in PhysicsServer
| * | | Make heightmap shape usable from PhysicsServerMarc Gilleron2018-03-282-14/+47
| |/ / | | | | | | | | | | | | | | | | | | - Fixed bad size check - Fixed bad member initialization - Removed unused cell_size (Bullet expects us to use localScaling) - Accept precomputed min/max height, will be calculated if not provided
* | | Corrected physics query max result checkingAndrea Catania2018-04-041-3/+10
| | |
* | | Merge pull request #17959 from AndreaCatania/kinfix2Rémi Verschelde2018-04-043-11/+5
|\ \ \ | | | | | | | | Fixed kinematic sliding on trimesh
| * | | Fixed kinematic sliding on trimeshAndrea Catania2018-04-043-11/+5
| |/ /
* | | Merge pull request #17900 from AndreaCatania/area_monRémi Verschelde2018-04-031-1/+4
|\ \ \ | | | | | | | | physics area added monitorable check
| * | | physics area added monitorable checkAndrea Catania2018-04-011-1/+4
| |/ /
* / / Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to ↵Alexander Alekseev2018-04-021-2/+2
|/ / | | | | | | exit without releasing the 'shapeInterface' pointer.
* | Fixed leak in BulletPhysicsServerWilson E. Alvarez2018-03-131-1/+3
| |