Transform constraints not working with rigid body simulation #63028

Open
opened 2019-03-27 21:19:33 +01:00 by Zak Tab · 8 comments

System Information
Operating system: Ubuntu 16.04
Graphics card: MSI 1080Ti

Blender Version
Broken: 2.80, 337eb8c1de, master, 2019-03-27,
Worked: 2.80, 8beab3e339, master, 2019-01-21

Short description of error
The new blender release (as of hash: 936014ea8c), seems to have disabled constraints from animations.
If you set a Minimum Z for a rigid body object, it will ignore that minimum.

Exact steps for others to reproduce the error

  • Open the default room.
  • Place the cube at (0, 0, 5)
  • Add “Active” rigid body to the cube
  • Add “Limit Location” object constraint and check minimum Z = 0
  • Press play

In previous versions, the cube would drop and stop at z = 0, but now it falls to -infinity.

**System Information** Operating system: Ubuntu 16.04 Graphics card: MSI 1080Ti **Blender Version** Broken: 2.80, 337eb8c1de4c, master, 2019-03-27, Worked: 2.80, 8beab3e33922, master, 2019-01-21 **Short description of error** The new blender release (as of hash: 936014ea8c74), seems to have disabled constraints from animations. If you set a Minimum Z for a rigid body object, it will ignore that minimum. **Exact steps for others to reproduce the error** - Open the default room. - Place the cube at (0, 0, 5) - Add “Active” rigid body to the cube - Add “Limit Location” object constraint and check minimum Z = 0 - Press play In previous versions, the cube would drop and stop at z = 0, but now it falls to -infinity.
Author

Added subscriber: @zakleap

Added subscriber: @zakleap

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish
Sergey Sharybin was assigned by William Reynish 2019-03-28 09:48:54 +01:00

Can confirm.

In 2.79, the constraint was taken into account when using rigid body physics, but in the latest beta it is not.

Can confirm. In 2.79, the constraint was taken into account when using rigid body physics, but in the latest beta it is not.
Sergey Sharybin was unassigned by Dalai Felinto 2019-12-23 16:34:47 +01:00

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

#63028.blend

The issue is that the constraints are evaluated before the rigid body simulation.
image.png

T63028_depsgraph.svg

I wonder if it makes to evaluate constraints before and after the simulation.
It might make sense to reclassify this as Known Issue. @Sergey, what do you think?

[#63028.blend](https://archive.blender.org/developer/F8911718/T63028.blend) The issue is that the constraints are evaluated before the rigid body simulation. ![image.png](https://archive.blender.org/developer/F8911728/image.png) ![T63028_depsgraph.svg](https://archive.blender.org/developer/F8911732/T63028_depsgraph.svg) I wonder if it makes to evaluate constraints before and after the simulation. It might make sense to reclassify this as Known Issue. @Sergey, what do you think?

I wonder if it makes to evaluate constraints before and after the simulation.

I do not think this is the correct design.

> I wonder if it makes to evaluate constraints before and after the simulation. I do not think this is the correct design.

Added subscriber: @pauanyu_blender

Added subscriber: @pauanyu_blender
Philipp Oeser changed title from New Blender release disables constraints from animation to Transform constraints not working with rigid body simulation 2021-06-02 13:14:58 +02:00
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:47:57 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:58 +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
6 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#63028
No description provided.