Follow Path for empty works only in negative values #89153

Closed
opened 2021-06-14 20:25:19 +02:00 by Djole · 9 comments

System Information
Operating system: Linux-5.0.0-13-generic-x86_64-with-glibc2.29 64 Bits
Graphics card: AMD RAVEN (DRM 3.27.0, 5.0.0-13-generic, LLVM 8.0.0) X.Org 4.5 (Core Profile) Mesa 19.0.2

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: (newest version of Blender that worked as expected)

Short description of error
Hi, i can't play animation on 2.93.0 for linux using follow path offset kayframed from 0 to 100.

Exact steps for others to reproduce the error
It is originaly saved in blender (2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab ) but when i try to play it in new version 2.93.0 in viewport it does not work. So i found that Follow Path for empty on new version of blender 2.93.0 works only in negative values. And also can't work when value of offset is below -100, in old version works..

Example:
follow_path_bug1.blend

UPDATE:
It works when i make animation from 0

**System Information** Operating system: Linux-5.0.0-13-generic-x86_64-with-glibc2.29 64 Bits Graphics card: AMD RAVEN (DRM 3.27.0, 5.0.0-13-generic, LLVM 8.0.0) X.Org 4.5 (Core Profile) Mesa 19.0.2 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: (newest version of Blender that worked as expected) **Short description of error** Hi, i can't play animation on 2.93.0 for linux using follow path offset kayframed from 0 to 100. **Exact steps for others to reproduce the error** It is originaly saved in blender (2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` ) but when i try to play it in new version 2.93.0 in viewport it does not work. So i found that Follow Path for empty on new version of blender 2.93.0 works only in negative values. And also can't work when value of offset is below -100, in old version works.. Example: [follow_path_bug1.blend](https://archive.blender.org/developer/F10171393/follow_path_bug1.blend) UPDATE: It works when i make animation from 0
Author

Added subscriber: @djole

Added subscriber: @djole
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2021-06-21 10:46:21 +02:00
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, will check.

Can confirm, will check.
Philipp Oeser removed their assignment 2021-06-21 11:57:24 +02:00
Sebastian Parborg was assigned by Philipp Oeser 2021-06-21 11:57:24 +02:00
Member

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Member

Behavior changed in 6a0906c09a

Quick workaround is to disable Clamp in the curve settings:
image.png

But that commit message says:

Previously, the "follow path constraint" ... were clamped. This restriction was lifted in cf2baa585c

In regards to bFollowPathConstraint->offset, this is not true, you could go however far you wanted (in both positive and negative "direction").
Note the offset gets subtracted, so you end up with negative ctime -- and this is totally normal, so clamping to zero is certainly wrong, possibly -1 to 1 is OK.
But really, the constraint was not clamped here (maybe do the clamping prior to the offset?)

@ZedDB: could you check?

Behavior changed in 6a0906c09a Quick workaround is to disable Clamp in the curve settings: ![image.png](https://archive.blender.org/developer/F10185841/image.png) But that commit message says: > Previously, the "follow path constraint" ... were clamped. This restriction was lifted in cf2baa585c In regards to `bFollowPathConstraint->offset`, this is not true, you could go however far you wanted (in both positive and negative "direction"). Note the offset gets subtracted, so you end up with negative ctime -- and this is totally normal, so clamping to zero is certainly wrong, possibly -1 to 1 is OK. But really, the constraint was not clamped here (maybe do the clamping prior to the offset?) @ZedDB: could you check?

This issue was referenced by 2659bc5457

This issue was referenced by 2659bc54577b4df7d1653938cf035b43a621aff9

This issue was referenced by be451354c9

This issue was referenced by be451354c9251d816b0e2950e334ae44931f6166

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#89153
No description provided.