You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version:
Ubuntu Linux 16.04, 64-bit
GeForce GTX 970 with NVIDIA 384.130 driver
GLES3 backend
Bullet Physics
Issue description:
In 3.1 and 3.2.2, RigidBodies can exit Areas with Replace-Combine space overrides without their gravity vectors being reset.
Steps to reproduce:
The attached reproducer has two overlapping 3D Areas with Replace-Combine space overrides. They have opposite-pointing gravity vectors and a reduced value for gravity. The cube, a RigidBody is supposed to gently 'bob' at the boundary between them like an object floating on the surface of water.
The capsule in the scene is a KinematicBody that can be controlled with the arrow keys. If you move the KinematicBody to collide with the bobbing RigidBody as it surfaces, the RigidBody levitates out of the Areas without its gravity vectors being reset to the global gravity.
The RigidBody's direct state total_gravity is shown in the label at the top left of the window. When it erroneously levitates out it displays the gravity vector given to it by the bottom-most Area (that it no longer overlaps).
Global gravity is set to 100, so the label should say (0, -100, 0).
(Note that in the latest commit on the 3.2 branch 9bf5a0b, there seems to be some other issue that prevents gravity from being altered by the areas in the reproducer at all.)
Godot version:
3.2.2
OS/device including version:
Ubuntu Linux 16.04, 64-bit
GeForce GTX 970 with NVIDIA 384.130 driver
GLES3 backend
Bullet Physics
Issue description:
In 3.1 and 3.2.2, RigidBodies can exit Areas with Replace-Combine space overrides without their gravity vectors being reset.
Steps to reproduce:
The attached reproducer has two overlapping 3D Areas with Replace-Combine space overrides. They have opposite-pointing gravity vectors and a reduced value for gravity. The cube, a RigidBody is supposed to gently 'bob' at the boundary between them like an object floating on the surface of water.
The capsule in the scene is a KinematicBody that can be controlled with the arrow keys. If you move the KinematicBody to collide with the bobbing RigidBody as it surfaces, the RigidBody levitates out of the Areas without its gravity vectors being reset to the global gravity.
The RigidBody's direct state
total_gravity
is shown in the label at the top left of the window. When it erroneously levitates out it displays the gravity vector given to it by the bottom-most Area (that it no longer overlaps).Global gravity is set to 100, so the label should say
(0, -100, 0)
.(Note that in the latest commit on the 3.2 branch 9bf5a0b, there seems to be some other issue that prevents gravity from being altered by the areas in the reproducer at all.)
Minimal reproduction project:
AreaReplaceCombine.zip
The text was updated successfully, but these errors were encountered: