After duplicating a collection with rigidbody objects, the simulation doesn't apply to the new rigidbody objects #100588

Open
opened 2022-08-23 14:50:49 +02:00 by Sonny Campbell · 6 comments
Member

System Information
Operating system: Windows 11
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU

Blender Version
Broken: master branch
Worked: Don't know if it ever worked

Short description of error
After duplicating a collection with rigidbody objects, the simulation doesn't apply to the new rigidbody objects

Steps to Reproduce

In a new blender project, add a new collection. Add a cube to the collection. Add a rigidbody to the cube. Verify that playing the simulation causes the object to fall under gravity.

Copy and paste the cube to create a new cube inside the collection. Move the new cube so both are visible. Verify that playing the simulation causes both cubes to fall under gravity.

In the outliner right-click on the collection and select "Duplicate Collection". Move the two new cubes so all four cubes are visible. Run the simulation.

  • The two cubes in the original collection will fall under gravity.
  • The two cubes in the duplicate collection do not move and are not affected by the simulation.

image.png

It appears the two cubes in the duplicated collection are not added to the RigidBodyWorld collection.

image.png

**System Information** Operating system: Windows 11 Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU **Blender Version** Broken: `master` branch Worked: Don't know if it ever worked **Short description of error** After duplicating a collection with rigidbody objects, the simulation doesn't apply to the new rigidbody objects **Steps to Reproduce** In a new blender project, add a new collection. Add a cube to the collection. Add a rigidbody to the cube. Verify that playing the simulation causes the object to fall under gravity. Copy and paste the cube to create a new cube inside the collection. Move the new cube so both are visible. Verify that playing the simulation causes both cubes to fall under gravity. In the outliner right-click on the collection and select "Duplicate Collection". Move the two new cubes so all four cubes are visible. Run the simulation. - The two cubes in the original collection will fall under gravity. - The two cubes in the duplicate collection do not move and are not affected by the simulation. ![image.png](https://archive.blender.org/developer/F13413505/image.png) It appears the two cubes in the duplicated collection are not added to the RigidBodyWorld collection. ![image.png](https://archive.blender.org/developer/F13413507/image.png)
Author
Member

Added subscriber: @SonnyCampbell_Unity

Added subscriber: @SonnyCampbell_Unity

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm the problem.
It seems related to #100255 (After appending a scene containing rigid body objects, the RigidBodyWorld and RigidBodyConstraints directories are not saved.).
Note that there is currently no active development in the Rigid Body area. But perhaps the situation can improve with the future implementation of physics through nodes still being planned.

I can confirm the problem. It seems related to #100255 (After appending a scene containing rigid body objects, the RigidBodyWorld and RigidBodyConstraints directories are not saved.). Note that there is currently no active development in the Rigid Body area. But perhaps the situation can improve with the future implementation of physics through nodes still being planned.

Added subscriber: @mont29

Added subscriber: @mont29

This has nothing to do with #100255...

Indeed this is likely just missing the 'rigid body' special case handling in that collection duplicating code. Given current situation of this feature, would classify it as known issue. It is trivial to add back the missing new objects to the RB collection manually, as a work-around.

This has nothing to do with #100255... Indeed this is likely just missing the 'rigid body' special case handling in that collection duplicating code. Given current situation of this feature, would classify it as known issue. It is trivial to add back the missing new objects to the RB collection manually, as a work-around.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:43:47 +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#100588
No description provided.