Inconsistency in a child's location relative to its parent's origin in Mesh vs Curve types. #100531
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#100531
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78
Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash:
e05e1e3691
Worked: N/A
Short description of error
Inconsistency in a child's location relative to its parent's origin in Mesh vs Curve types.
A Mesh child's transform location is relative to its origin.
However, a Curve child's transform location is relative to splines- [x].points[0].
Expected behavior: both Mesh and Curve types behave the same.
Actual/Observed behavior: Setting a Cube's child.location to (0,0,0) goes to the Cube's center. However, Setting a Curve's child.location to (0,0,0) goes to splines- [x].points- [x] despite a different origin.
Exact steps for others to reproduce the error
Create a mesh Cube by using menu Add > Mesh > Cube.
Create an empty by using Add > Empty > Plain Axis
Parent empty to Cube, such that the empty is a child of the Cube.
Create a curve Circle by using Add > Curve > Nurbs Circle.
Create another empty by using Add > Empty > Plain Axis
Parent empty from step 5 to Circle, such that the empty is a child of the Circle.
Observe that the Cube's child empty is at the center of the Cube because its location is (0,0,0) relative to the Cube's origin.
Observe that the Circle's child empty is to the left of the Circle's origin. It is actually at splines- .points[0].
This is what we see:
LocationOfChildrenOfMeshAndCurve.blend
Expected behavior: both Mesh and Curve types behave the same, so that a child's location is relative to the origin, not a point making the points on the Curve. Like the picture below:
Added subscriber: @sleepystar96
Added subscriber: @scurest
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
This happens if
Path Animation
is enabled for curve object. otherwise empty is parented to curve's center.I'm not sure if this is working as expected or not. I'll investigate it later this week. Forwarding this report to developers for now
Hey @PratikPB2123, you're right, disabling path animation makes the child follow origin again.
Perhaps this should be documented somewhere? I cannot find anything related on https://docs.blender.org/manual/en/latest/modeling/curves/properties/geometry.html. Sorry if I missed it.
Thank for the quick response!
Best,
sleepystar