summaryrefslogtreecommitdiff
path: root/modules/bullet
AgeCommit message (Collapse)Author
2018-08-07Merge pull request #20381 from AndreaCatania/phymat_2Juan Linietsky
Improved Physics material
2018-08-07Removed physics material combination mode. Added rough and absorbent ↵Andrea Catania
parameter to material. Fixed 'change' signal connection
2018-08-03Fixed SoftBody pinned point offset calculationAndrea Catania
2018-07-26Merge pull request #15643 from organicpencil/bullet_contact_impulseRémi Verschelde
Expose PhysicsDirectBodyState.get_contact_impulse
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
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.
2018-07-24Modified RigidBody, PhysicsDirectBodyState, PhysicsServer, and their ↵Tiger Caldwell
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
2018-07-23Implemented Soft bodyAndreaCatania
- Soft Body Physics node - Soft Body Rendering - Soft body Editor - Soft body importer
2018-07-23Merge pull request #12403 from AndreaCatania/phymatJuan Linietsky
Physics material
2018-07-21-Fix disable_3d flagJuan Linietsky
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-01added cylinder shape supportmuiroc
2018-05-30SCons: Pass env to modules can_build methodRémi Verschelde
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
2018-05-27Improved kinematic test_body_motion codeAndrea Catania
2018-05-11Implemented physics materialAndreaCatania
Hidden a function Fixed travis static check
2018-05-08Merge pull request #17559 from simedis/joint_motorsRémi Verschelde
Implemented interface for bullet linear motors
2018-05-07Implemented ragdollAndreaCatania
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
2018-04-18Merge pull request #18204 from tagcup/quat_scaleRémi Verschelde
Avoid converting Quat to Euler angles when not necessary.
2018-04-14Avoid converting Quat to Euler angles when not necessary.tagcup
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.
2018-04-12Removed useless checkAndrea Catania
2018-04-12Fixed wrong function callAndrea Catania
2018-04-12Rigidbody wake up when hitten by a kinematic bodyAndrea Catania
2018-04-09Fixed area overlap cleaningAndrea Catania
2018-04-06Merge pull request #17899 from AndreaCatania/area_cleaningRémi Verschelde
Fixed physics server area cleaning
2018-04-06Fixed physics server area cleaningAndrea Catania
2018-04-05Merge pull request #17806 from Zylann/fix_heightmap_shape_size_checkRémi Verschelde
Make heightmap shape usable in PhysicsServer
2018-04-04Corrected physics query max result checkingAndrea Catania
2018-04-04Merge pull request #17959 from AndreaCatania/kinfix2Rémi Verschelde
Fixed kinematic sliding on trimesh
2018-04-04Fixed kinematic sliding on trimeshAndrea Catania
2018-04-03Merge pull request #17900 from AndreaCatania/area_monRémi Verschelde
physics area added monitorable check
2018-04-02Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to ↵Alexander Alekseev
exit without releasing the 'shapeInterface' pointer.
2018-04-01physics area added monitorable checkAndrea Catania
2018-03-28Make heightmap shape usable from PhysicsServerMarc Gilleron
- 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
2018-03-16Implemented interface for bullet joint motorsGeoffrey
2018-03-13Fixed leak in BulletPhysicsServerWilson E. Alvarez
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27Merge pull request #17021 from AndreaCatania/kinfixRémi Verschelde
Fixed bullet kinematic char sliding
2018-02-27Implemented Bullet method omit forcesAndrea Catania
2018-02-25Fixed kinematic char slidingAndrea Catania
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-20Merge pull request #16757 from AndreaCatania/kinpushRémi Verschelde
Improved kinematic body, Now can move rigid body
2018-02-20Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania
2018-02-19Merge pull request #16530 from AndreaCatania/raysRémi Verschelde
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19Improved ray shape (2D and 3D) by addiing the possibility to act as regular ↵Andrea Catania
shape
2018-02-19Merge pull request #16751 from AndreaCatania/moreAPIsRémi Verschelde
Added Physics state APIs
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-16Added Physics state APIsAndrea Catania
2018-02-14Merge pull request #16681 from AndreaCatania/kin_tRémi Verschelde
Added return true o collide when no rusult is NULL
2018-02-14Added return true o collide when no rusult is NULLAndrea Catania
2018-02-14Merge pull request #16547 from Dar13/kinematic_gravity_fixRémi Verschelde
Fixes gravity calculation for kinematic bodies in Bullet
2018-02-13Fixes gravity calculation for kinematic bodies in BulletNeil Moore
2018-02-05Added physics API in order to enable/disable collisions between rigidbody ↵Andrea Catania
attached to a joint with bullet physics bullet Fixes #16424