Rigid body Constraint: Generic are crazy for rotation along Y axis (Bullet issue?) #41809

Closed
opened 2014-09-13 11:56:25 +02:00 by Piotr Załóg · 7 comments

Windows 7 64

Blender 2.71 9337574

Every time when I use Generic Constraint and Object can rotate along Y axis, animation are crazy. Only Y axis is broken.

  1. Open file. bug_generic_constraint_y.blend
  2. Press Alt + A and see what will happen with green cube.

Not only I have this problem.

Windows 7 64 Blender 2.71 9337574 Every time when I use Generic Constraint and Object can rotate along Y axis, animation are crazy. Only Y axis is broken. 1. Open file. [bug_generic_constraint_y.blend](https://archive.blender.org/developer/F110094/bug_generic_constraint_y.blend) 2. Press Alt + A and see what will happen with green cube. Not only I have this problem.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @piotr-14

Added subscriber: @piotr-14
Bastien Montagne changed title from Rigid body Constraint: Generic are crazy to Rigid body Constraint: Generic are crazy for rotation along Y axis (Bullet issue?) 2014-09-15 12:43:51 +02:00
Sergej Reich was assigned by Bastien Montagne 2014-09-15 12:43:51 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Confirmed.
From a quick print session, issue seems to happen in Bullet (at least, values gotten from RB_body_get_orientation() are first stable, with rotation along Y axis, and it soon starts to diverge to random axes...).

Sergej, you might know better! ;)

Confirmed. From a quick print session, issue seems to happen in Bullet (at least, values gotten from `RB_body_get_orientation()` are first stable, with rotation along Y axis, and it soon starts to diverge to random axes...). Sergej, you might know better! ;)
Member

Changed status from 'Open' to: 'Archived'

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

Added subscriber: @LukasTonne

Added subscriber: @LukasTonne
Member

The most plausible explanation i could find on this issue is that the 6dof constraint ("generic" in Blender terms) is based on Euler angles, which are prone to gimbal lock type issues. The ultimate solution would have to happen on the Bullet side as a quaternion-based 6dof constraint, but in the meantime you can use a true hinge constraint (which is more stable anyway) or just rotate the cube and use the x or z axis instead of y. See this thread for discussion:

http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=8153

We can't really fix this on our side, so i'm archiving this report.

The most plausible explanation i could find on this issue is that the 6dof constraint ("generic" in Blender terms) is based on Euler angles, which are prone to gimbal lock type issues. The ultimate solution would have to happen on the Bullet side as a quaternion-based 6dof constraint, but in the meantime you can use a true hinge constraint (which is more stable anyway) or just rotate the cube and use the x or z axis instead of y. See this thread for discussion: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=8153 We can't really fix this on our side, so i'm archiving this report.
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#41809
No description provided.