Rigid body constraint object behaves strange if you run without Update Dependencies once #36088

Closed
opened 2013-07-10 21:47:01 +02:00 by fr fff · 14 comments

%%%--- Operating System, Graphics card ---
ubuntu 12.10, graphics unknown

- Blender version with error ---

2.67b (2.67.0 r57123) from blender.org (thank you!)
(it uses rigid body tools, I believe that is available from version 2.66 and upwards only )

- Short description of error ---

Rigid body constraint object, which is enabled by a driver on the first frame, behaves as not enabled if you forget to press 'Update Dependencies' right after pasting the function-definition-code in the console. Pressing Update dependencies afterwards might or might not work. Removing the Rigid body constraint's parent always works. After a while starting and stopping it might also work.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Open .blend file, any of the two attached ones. Move mouse over text panel,
Ctrl A to Select all
Ctrl C Copy
move mouse over Console panel
Ctrl V to paste and execute
DON'T Update Dependencies but move mouse on 3d panel and
Alt A to start animation, it will start without driver,
Esc to stop
NOW press Update Dependencies button in graph editor
Alt A in 3d panel, will propably start animation still without effective Hinge rigid body constraint object called loosefix.

If it is activated, the z-angle limit should stop the bouncing cube at 30 degrees more or less, see physics tab in properties if not visable. There you can see that it got enabled (checkbox), also in the log of the operating system console you can see that, but it doesn't act so.

%%%

%%%--- Operating System, Graphics card --- ubuntu 12.10, graphics unknown - Blender version with error --- 2.67b (2.67.0 r57123) from blender.org (thank you!) (it uses rigid body tools, I believe that is available from version 2.66 and upwards only ) - Short description of error --- Rigid body constraint object, which is enabled by a driver on the first frame, behaves as not enabled if you forget to press 'Update Dependencies' right after pasting the function-definition-code in the console. Pressing Update dependencies afterwards might or might not work. Removing the Rigid body constraint's parent always works. After a while starting and stopping it might also work. - Steps for others to reproduce the error (preferably based on attached .blend file) --- Open .blend file, any of the two attached ones. Move mouse over text panel, Ctrl A to Select all Ctrl C Copy move mouse over Console panel Ctrl V to paste and execute DON'T Update Dependencies but move mouse on 3d panel and Alt A to start animation, it will start without driver, Esc to stop NOW press Update Dependencies button in graph editor Alt A in 3d panel, will propably start animation still without effective Hinge rigid body constraint object called loosefix. If it is activated, the z-angle limit should stop the bouncing cube at 30 degrees more or less, see physics tab in properties if not visable. There you can see that it got enabled (checkbox), also in the log of the operating system console you can see that, but it doesn't act so. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%Ok I got a better bug report. I'm not sure if this is a cache problem, with removing the parent and such. Also by changing an active ring to passive and back again helps sometimes. I filed it as a new bug with a proper headline.

See 36104 Rigid-body-tool's constraint in animation doesn't listen to driver properly
http://projects.blender.org/tracker/index.php?func=detail&aid=36104&group_id=9&atid=498

Maybe this isn't needed any more.
Cheers, Freilauf%%%

%%%Ok I got a better bug report. I'm not sure if this is a cache problem, with removing the parent and such. Also by changing an active ring to passive and back again helps sometimes. I filed it as a new bug with a proper headline. See 36104 Rigid-body-tool's constraint in animation doesn't listen to driver properly http://projects.blender.org/tracker/index.php?func=detail&aid=36104&group_id=9&atid=498 Maybe this isn't needed any more. Cheers, Freilauf%%%

%%%Hmm, so is this a duplicate of the other bug? I'm a little confused ;)%%%

%%%Hmm, so is this a duplicate of the other bug? I'm a little confused ;)%%%
Author

%%%I think, yes. At least the other has similar-sounding effects (simulation not acting in accordance to driver) and is better reproduceable. Did you try them? Do you see the same result?

Cheers, freilauf%%%

%%%I think, yes. At least the other has similar-sounding effects (simulation not acting in accordance to driver) and is better reproduceable. Did you try them? Do you see the same result? Cheers, freilauf%%%
Author

%%%Sorry here too, 36104 Rigid-body-tool's constraint bug is not a bug, it's my own fault! About this bug here, I'm still not quite sure. As I mentioned, it can also be a cache problem. I've got another file, maybe easier to reproduce:
rigidbodyconstraint enable driver44.blend

  • Just run the script, Alt-A in 3d panel, Esc in frame 50(+-)
  • Update dependencies, Alt.A again

cube jumps back at frame 50 suddenly instead of in frame 10+-

Maybe another error of me? I#ll have another look.
Cheers, freilauf
%%%

%%%Sorry here too, 36104 Rigid-body-tool's constraint bug is not a bug, it's my own fault! About this bug here, I'm still not quite sure. As I mentioned, it can also be a cache problem. I've got another file, maybe easier to reproduce: rigidbodyconstraint enable driver44.blend - Just run the script, Alt-A in 3d panel, Esc in frame 50(+-) - Update dependencies, Alt.A again # cube jumps back at frame 50 suddenly instead of in frame 10+- Maybe another error of me? I#ll have another look. Cheers, freilauf %%%
Author

%%%It may be a cache problem. I didn't find out more.

Salutations!%%%

%%%It may be a cache problem. I didn't find out more. Salutations!%%%

Added subscriber: @Sergey

Added subscriber: @Sergey

@sreich, any chance looking into this report?

@sreich, any chance looking into this report?

Hmm, I can't reproduce the problem, seems to work fine.

Hmm, I can't reproduce the problem, seems to work fine.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

@freilauf, does the issue still occur in the Blender 2.74 RC ?

@freilauf, does the issue still occur in the Blender [2.74 RC ](http://download.blender.org/release/Blender2.74/)?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @mont29

Added subscriber: @mont29

No news since one week - and more than time to archive. ;)

No news since one week - and more than time to archive. ;)
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
5 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#36088
No description provided.