Commit graph

69 commits

Author SHA1 Message Date
Alexander Alekseev
b569251110 Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to exit without releasing the 'shapeInterface' pointer. 2018-04-02 09:29:34 +03:00
Wilson E. Alvarez
e5ae9750ed Fixed leak in BulletPhysicsServer 2018-03-13 15:24:30 -04:00
Rémi Verschelde
3fa77b3172 doc: Remove status from hardcoded version string
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27 13:40:49 +01:00
Rémi Verschelde
4b9ab27dea
Merge pull request #17021 from AndreaCatania/kinfix
Fixed bullet kinematic char sliding
2018-02-27 11:40:11 +01:00
Andrea Catania
e1e78a51aa Implemented Bullet method omit forces 2018-02-27 08:41:17 +01:00
Andrea Catania
0e446f8aff Fixed kinematic char sliding 2018-02-25 21:05:14 +01:00
luz.paz
612ab4bbc6 Fix typos with codespell
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-21 19:46:06 +01:00
Rémi Verschelde
497a4e9e25
Merge pull request #16757 from AndreaCatania/kinpush
Improved kinematic body, Now can move rigid body
2018-02-20 15:41:10 +01:00
Andrea Catania
6ed392f47a Improved kinematic body 2D and 3D, Now can move rigid body 2018-02-20 12:43:47 +01:00
Rémi Verschelde
b2aeb02e7d
Merge pull request #16530 from AndreaCatania/rays
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19 22:15:49 +01:00
Andrea Catania
ffc3ef8677 Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
Rémi Verschelde
be67f2e4ba
Merge pull request #16751 from AndreaCatania/moreAPIs
Added Physics state APIs
2018-02-19 20:22:18 +01:00
Rémi Verschelde
3c7a39b40c doc: Update version string in header 2018-02-19 10:46:33 +01:00
Andrea Catania
a930797c31 Added Physics state APIs 2018-02-16 17:48:07 +01:00
Rémi Verschelde
2a754be71a
Merge pull request #16681 from AndreaCatania/kin_t
Added return true o collide when no rusult is NULL
2018-02-14 08:28:19 +01:00
Andrea Catania
f48845428d Added return true o collide when no rusult is NULL 2018-02-14 08:18:48 +01:00
Rémi Verschelde
232e03e5e3
Merge pull request #16547 from Dar13/kinematic_gravity_fix
Fixes gravity calculation for kinematic bodies in Bullet
2018-02-14 08:14:38 +01:00
Neil Moore
5fb8a6a6c2 Fixes gravity calculation for kinematic bodies in Bullet 2018-02-13 19:14:10 -05:00
Andrea Catania
a42765dada Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
Fixes #16424
2018-02-05 18:54:07 +01:00
Paolo Perkovic
08d4bfacaf Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
Rémi Verschelde
d516aab8fa doc: Sync with current source
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00
Andrea Catania
b1d35f62dd Improved stabilization of ray shape in Bullet 2018-01-24 16:00:52 +01:00
Mariano Suligoy
d090856560 attemp to fix #15743 2018-01-21 14:23:30 -03:00
Rémi Verschelde
9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
AndreaCatania
ecfe932eb8 Fixed bullet physics body shape scaling 2018-01-16 12:53:01 +01:00
Rémi Verschelde
e141845bfb SCons: Allow unbundling bullet on Linux (only 2.87+) 2018-01-13 15:16:22 +01:00
Rémi Verschelde
e12c89e8c9 bullet: Streamline bundling, remove extraneous src/ folder
Document version and how to extract sources in thirdparty/README.md.
Drop unnecessary CMake and Premake files.
Simplify SCsub, drop unused one.
2018-01-13 14:08:45 +01:00
Rémi Verschelde
e28cdc4654 doc: Update version string in XML 2018-01-13 11:43:42 +01:00
AndreaCatania
c507a4988d Removed useless error print on bullet shapes 2018-01-08 16:49:04 +01:00
AndreaCatania
50c99370d2 Fixed Bullet collision shapes scale 2018-01-08 16:44:33 +01:00
Rémi Verschelde
e4213e66b2 Add missing copyright headers and fix formatting
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-05 01:22:23 +01:00
Rémi Verschelde
f8b58784bc
Merge pull request #13257 from AndreaCatania/master
Fixed kinematic movement stuck, Changed how shape scale works.
2018-01-04 15:26:23 +01:00
Rémi Verschelde
b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
firefly2442
ac2b084fdc fix typo in switch statement 2017-12-30 21:49:04 -07:00
AndreaCatania
f4b96cc0a9 Fixed kinematic movement stuck, Changed how shape scale works, Optimized 2017-12-23 18:23:12 +01:00
AndreaCatania
0f5c87bfa4 Fixed dispatch callback 2017-12-23 12:36:51 +01:00
AndreaCatania
aea1b2e6c3 Fixed rigidbody sleping, Fixes #13952 2017-12-23 05:13:39 +01:00
AndreaCatania
512c60f1d8 Fixed intersect_shape crash, closes #13697 2017-12-23 00:04:53 +01:00
Andreas Haas
0e624234da
Scons: Build modules in seperate env. 2017-12-13 15:46:35 +01:00
Rémi Verschelde
dfb3634c34
Merge pull request #13836 from AndreaCatania/scale
Fixed bullet scale on get_transform and joints
2017-12-11 10:35:09 +01:00
Rémi Verschelde
5cfafaf09e
Merge pull request #14516 from AndreaCatania/patch-2
Implemented physics linear and angular lock
2017-12-11 00:13:06 +01:00
AndreaCatania
5dee44bbc1 Implemented physics linear and angular lock 2017-12-10 17:21:14 +01:00
AndreaCatania
785173e899 Ray cast return shape id. Fixes #14473 2017-12-10 12:20:36 +01:00
AndreaCatania
b546cd50a3 Changed how 6DOF limits works 2017-12-09 19:53:08 +01:00
Rémi Verschelde
25b36f18d3
Merge pull request #12756 from Stratos695/master
Allowing double-axis lock in RigidBody & KinematicBody (Fixes #12500)
2017-12-09 13:01:41 +01:00
AndreaCatania
32408f3bfd Fixed joint scale 2017-12-09 01:22:36 +01:00
AndreaCatania
5cfc98cace Fixed bullet get_transform scale 2017-12-08 16:46:41 +01:00
Rémi Verschelde
13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
Andrea Catania
2336927043
Fixed bullet server null pointer check
Fixed bullet server null pointer check
2017-11-30 20:38:57 +01:00
Rémi Verschelde
bc75fae579 doc: Update header version for 3.0-beta 2017-11-24 09:16:52 +01:00