Adding/removing force fields doesn't invalidate simulation caches #38442

Closed
opened 2014-02-02 01:02:31 +01:00 by Y Car · 10 comments

System Information
Ubuntu 12.04
ATI FLGRX

Blender Version
Broken: 2.69 7c9b106
Worked: never (ifaik...)

Short description of error
Force fields and Rigid bodies are not properly updated. Sometimes the order buttons are clicked does matter, and rigid bodies don't always react to force fields.
I have noticed manly 3 issues (that I name "Ghost force", "Delayed force" and "Unsensitive rigid body"), reported below.

Exact steps for others to reproduce the error

Glitchy_rb_force.blend
1°) Ghost force :

  • set gravitity to 0 in scene properties panel (just to better see the bug)
  • add a second cube (Cube.001) next to the original cube (Cube)
  • in Blender Render, physics properties panel, enable Force Field on 'Cube', and enable 'Rigid Body' for 'Cube.001'
  • run simulation (Shift+A) : all works perfectly, our rigid body moves because of the force field
  • disable Force field on 'Cube' => our rigid body keeps moving because of the (ghost) old force !
    It seems like rigid body world is not updated when 'Force Field' is clicked on :
    If you update the rigid body wold ( e.g. adding/enabeling/deleting/disabeling a rigid body), forces will act properly again.

2°) Delayed force :

  • set gravitity to 0 in scene properties panel (just to better see the bug)
  • add a second cube (Cube.001) next to the original cube (Cube)
  • in Blender Render, physics properties panel, enable 'Rigid Body' for 'Cube.001'
  • run simulation (Shift+A)
  • at Nth frame (where N>0), enable 'Force field' for 'Cube' => from now, rigid body will get repulsed from the force only above Nth frame (even if you run simulation again from 0th frame).

3°) Unsensitive rigid body :

  • set gravitity to 0 in scene properties panel (just to better see the bug)
  • add a second cube (Cube.001) next to the original cube (Cube)
  • in Blender Render, physics properties panel, enable 'Force Field' for both 'Cube' and 'Cube.001'
  • enable 'Rigid body' for 'Cube'
  • run simulation (Shift+A) => the rigid body does not move.

2°+3°bis) Unsensitive rigid body (bis) or delayed force (bis) :

  • set gravity to 0 in scene properties panel (just to better see the bug)
  • add a second cube (Cube.001) next to the original cube (Cube)
  • in Blender Render, physics properties panel, enable 'Force Field' for 'Cube'
  • enable 'Rigid body' for 'Cube.001'
  • enable 'Force Field' for 'Cube.001'
  • run simulation (Shift+A) => the rigid body DO move.
    But it seems like it moves because of the '2°) Delayed Force' effect ; when you change force strength or add rigid body, Cube.001 gets stuck again.
**System Information** Ubuntu 12.04 ATI FLGRX **Blender Version** Broken: 2.69 7c9b106 Worked: never (ifaik...) **Short description of error** Force fields and Rigid bodies are not properly updated. Sometimes the order buttons are clicked does matter, and rigid bodies don't always react to force fields. I have noticed manly 3 issues (that I name "Ghost force", "Delayed force" and "Unsensitive rigid body"), reported below. **Exact steps for others to reproduce the error** [Glitchy_rb_force.blend](https://archive.blender.org/developer/F75778/Glitchy_rb_force.blend) 1°) Ghost force : - set gravitity to 0 in scene properties panel (just to better see the bug) - add a second cube (Cube.001) next to the original cube (Cube) - in Blender Render, physics properties panel, enable Force Field on 'Cube', and enable 'Rigid Body' for 'Cube.001' - run simulation (Shift+A) : all works perfectly, our rigid body moves because of the force field - disable Force field on 'Cube' => our rigid body keeps moving because of the (ghost) old force ! It seems like rigid body world is not updated when 'Force Field' is clicked on : If you update the rigid body wold ( e.g. adding/enabeling/deleting/disabeling a rigid body), forces will act properly again. 2°) Delayed force : - set gravitity to 0 in scene properties panel (just to better see the bug) - add a second cube (Cube.001) next to the original cube (Cube) - in Blender Render, physics properties panel, enable 'Rigid Body' for 'Cube.001' - run simulation (Shift+A) - at Nth frame (where N>0), enable 'Force field' for 'Cube' => from now, rigid body will get repulsed from the force only above Nth frame (even if you run simulation again from 0th frame). 3°) Unsensitive rigid body : - set gravitity to 0 in scene properties panel (just to better see the bug) - add a second cube (Cube.001) next to the original cube (Cube) - in Blender Render, physics properties panel, enable 'Force Field' for both 'Cube' and 'Cube.001' - enable 'Rigid body' for 'Cube' - run simulation (Shift+A) => the rigid body does not move. 2°+3°bis) Unsensitive rigid body (bis) or delayed force (bis) : - set gravity to 0 in scene properties panel (just to better see the bug) - add a second cube (Cube.001) next to the original cube (Cube) - in Blender Render, physics properties panel, enable 'Force Field' for 'Cube' - enable 'Rigid body' for 'Cube.001' - enable 'Force Field' for 'Cube.001' - run simulation (Shift+A) => the rigid body DO move. But it seems like it moves because of the '2°) Delayed Force' effect ; when you change force strength or add rigid body, Cube.001 gets stuck again.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Sergey Sharybin was assigned by Y Car 2014-02-02 01:02:31 +01:00
Author

Added subscriber: @tchirac

Added subscriber: @tchirac
Sergey Sharybin removed their assignment 2014-02-03 11:01:17 +01:00

Added subscriber: @Sergey

Added subscriber: @Sergey

No idea why it was assigned to me. I don't usually deal with rigid bodies.

No idea why it was assigned to me. I don't usually deal with rigid bodies.
Sergej Reich was assigned by Sergey Sharybin 2014-02-03 13:26:31 +01:00

Added subscriber: @sreich

Added subscriber: @sreich

On the other hand, @sreich do you mind looking into the issue? :)

On the other hand, @sreich do you mind looking into the issue? :)
Sergej Reich changed title from Force fields and Rigid body uncompatibilities to Adding/removing force fields doesn't invalidate simulation caches 2014-02-03 14:13:42 +01:00

it's actually a general problem with simulations, changes to force fields don't always invalidate the cache.

it's actually a general problem with simulations, changes to force fields don't always invalidate the cache.
Sergej Reich was unassigned by Sergey Sharybin 2014-05-29 11:00:18 +02:00
Lukas Tönne was assigned by Sergey Sharybin 2014-05-29 11:00:18 +02:00

Lukas, remember you've been doing some changes in force fields+depsgraph. Is the issue solved now? If not, guess we'd better to move it to TODO as a part of Gooseberry project.

Lukas, remember you've been doing some changes in force fields+depsgraph. Is the issue solved now? If not, guess we'd better to move it to TODO as a part of Gooseberry project.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Closed as a Gooseberry TODO.

Closed as a Gooseberry TODO.
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
4 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#38442
No description provided.