Age | Commit message (Collapse) | Author |
|
Expose PhysicsDirectBodyState.get_contact_impulse
|
|
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.
|
|
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
|
|
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
|
|
Physics material
|
|
-Add extra flag optimize=[size,speed] to be able to prioritize size
|
|
|
|
This allows to disable modules based on the environment,
in particular `env[tools]` which tells us if we are
building the editor or not.
|
|
|
|
Hidden a function
Fixed travis static check
|
|
Implemented interface for bullet linear motors
|
|
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
|
|
Avoid converting Quat to Euler angles when not necessary.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Fixed physics server area cleaning
|
|
|
|
Make heightmap shape usable in PhysicsServer
|
|
|
|
Fixed kinematic sliding on trimesh
|
|
|
|
physics area added monitorable check
|
|
exit without releasing the 'shapeInterface' pointer.
|
|
|
|
- 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
|
|
|
|
|
|
It has no practical use case and just generates noise for each alpha, beta, etc.
|
|
Fixed bullet kinematic char sliding
|
|
|
|
|
|
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
|
|
Improved kinematic body, Now can move rigid body
|
|
|
|
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
|
|
shape
|
|
Added Physics state APIs
|
|
|
|
|
|
Added return true o collide when no rusult is NULL
|
|
|
|
Fixes gravity calculation for kinematic bodies in Bullet
|
|
|
|
attached to a joint with bullet physics bullet
Fixes #16424
|
|
|
|
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).
|
|
|