Rigid-Bodies Colliding Improperly #70505

Open
opened 2019-10-04 05:54:11 +02:00 by Andy Sellers · 11 comments

Basic Setup with bug 2.blend
System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.48

Blender Version
Broken: version: 2.81 (sub 13), branch: master, commit date: 2019-10-03 21:03, hash: fbc096cf07

Short description of error
Some of the Rigid-Body objects in the included .blend go flying when animation is played, as though they were intersecting each other, but they are not.

Exact steps for others to reproduce the error
Open the included .blend.
Play animation. The two objects named "Suspension.FL will go flying off in opposite directions.

[Basic Setup with bug 2.blend](https://archive.blender.org/developer/F7788695/Basic_Setup_with_bug_2.blend) **System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.48 **Blender Version** Broken: version: 2.81 (sub 13), branch: master, commit date: 2019-10-03 21:03, hash: `fbc096cf07` **Short description of error** Some of the Rigid-Body objects in the included .blend go flying when animation is played, as though they were intersecting each other, but they are not. **Exact steps for others to reproduce the error** Open the included .blend. Play animation. The two objects named "Suspension.FL will go flying off in opposite directions.
Author

Added subscriber: @Andrewm90

Added subscriber: @Andrewm90

Added subscribers: @mont29, @mano-wii

Added subscribers: @mont29, @mano-wii

Investigating this problem I came across an assert on this line:
https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/rigidbody.c$1753

For that I deleted one of the rigid body constraints and ran the animation.

It's probably not related to the bug but,
@mont29, could you take a look at this assert first? (the assert was added in 7f98ba47)

Investigating this problem I came across an assert on this line: https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/rigidbody.c$1753 For that I deleted one of the rigid body constraints and ran the animation. It's probably not related to the bug but, @mont29, could you take a look at this assert first? (the assert was added in 7f98ba47)

Fixed as bebdb6c824, but this had really nothing to do with this report, besides being a RBW issue…

Fixed as bebdb6c824, but this had really *nothing* to do with this report, besides being a RBW issue…
Sergej Reich was assigned by Germano Cavalcante 2019-10-04 19:51:37 +02:00

Added subscriber: @sreich

Added subscriber: @sreich

On further investigation, this problem has to do with how the Collision margin is calculated for cylinder shape objects.
The problem can be alleviated by reducing the collision margin of all objects involved.

Since you can work around the settings and the bullet collision code is part of an external library, I don't think it's worth investigating this.
But I will leave the decision to close the report to @sreich who knows this area better.

On further investigation, this problem has to do with how the Collision margin is calculated for cylinder shape objects. The problem can be alleviated by reducing the collision margin of all objects involved. Since you can work around the settings and the bullet collision code is part of an external library, I don't think it's worth investigating this. But I will leave the decision to close the report to @sreich who knows this area better.
Author

As far as I know, the cylinder Collision margin box is not ticked by default, resulting in Blender assuming the value to be 0 automatically. If the box is ticked, then the value is explicitly controlled by the user. Is this the case?

As far as I know, the cylinder Collision margin box is not ticked by default, resulting in Blender assuming the value to be 0 automatically. If the box is ticked, then the value is explicitly controlled by the user. Is this the case?
Author

On a related note, is there a specific reason 2.8x doesn't display the Rigid-Body bounding box shapes in the viewport? 2.7x did this, and it was very helpful. I'm assuming it's intentional and not a bug.

RB Bounding Box in 2.8x.jpg

RB Bounding Box in 2.7x.jpg

On a related note, is there a specific reason 2.8x doesn't display the Rigid-Body bounding box shapes in the viewport? 2.7x did this, and it was very helpful. I'm assuming it's intentional and not a bug. ![RB Bounding Box in 2.8x.jpg](https://archive.blender.org/developer/F7789586/RB_Bounding_Box_in_2.8x.jpg) ![RB Bounding Box in 2.7x.jpg](https://archive.blender.org/developer/F7789585/RB_Bounding_Box_in_2.7x.jpg)

In #70505#789829, @Andrewm90 wrote:
On a related note, is there a specific reason 2.8x doesn't display the Rigid-Body bounding box shapes in the viewport? 2.7x did this, and it was very helpful. I'm assuming it's intentional and not a bug.

In fact the shape drawing has been lost.
I don't know exactly what to commit, but probably in the transition to the new viewport.
Please open a new report so that the problem can be correctly addressed.

> In #70505#789829, @Andrewm90 wrote: > On a related note, is there a specific reason 2.8x doesn't display the Rigid-Body bounding box shapes in the viewport? 2.7x did this, and it was very helpful. I'm assuming it's intentional and not a bug. In fact the shape drawing has been lost. I don't know exactly what to commit, but probably in the transition to the new viewport. Please open a new report so that the problem can be correctly addressed.
Author

Will do, thanks!

Will do, thanks!
Sergej Reich was unassigned by Dalai Felinto 2019-12-23 13:48:15 +01:00

I will mark it as Know Issue since this module is not in active development.
However, this problem needs to be documented.

I will mark it as `Know Issue` since this module is not in active development. However, this problem needs to be documented.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:47:11 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#70505
No description provided.