Page MenuHome

Vertex Mass on cloth simulations no longer animatable.
Closed, ArchivedPublicKNOWN ISSUE

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.27

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: rB84da05a8b806
Worked: (2.92 back to 2.80 or longer)

Short description of error
Starting from 2.93 Vertex Mass value on cloth simulations is no longer possible to keyframe nor is it possible to add drivers to. This possibly breaks simulation addons and other simulation workflows that control that setting outside of the physics panel.

Event Timeline

Evan Wilson (EAW) changed the task status from Needs Triage to Needs Information from User.Jun 8 2021, 12:43 AM

This function appears to have been removed with this commit: rB4707c8617951: Fix T88188: Keyframing Vertex Mass in Cloth Simulation doesn't have any
Do you have an example blend showing how this worked in 2.92 and earlier?

This should show it well. I use this type of drivers to control simulation settings on my rigged characters, it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

Evan Wilson (EAW) changed the task status from Needs Information from User to Needs Information from Developers.Jun 8 2021, 9:55 PM

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@Sebastian Parborg (zeddb) @Philipp Oeser (lichtwerk) can you chime in with your thoughts on this?

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@Sebastian Parborg (zeddb) @Philipp Oeser (lichtwerk) can you chime in with your thoughts on this?

The ideal thing is to have them update real time for better feedback but right now it works just fine with me having to restart the timeline to see the effects. I'm pretty sure Vertex Mass does refresh in real time, but there are other settings that don't quite work in real time, few months ago i did submit another report where drivers don't refresh the simulation instantly. T80828

it's really useful to just have 1 slider for full clothing set which runs on the same settings anyway.

While the setting won't always update in real time, it will refresh to the driver's
value once the timeline is reset back to the start with shift+left arrow

Ah so your use case isn't updating the vertex mass while the simulation is running, it's using one value to adjust several cloth sims while experimenting to find the value you want.
@Sebastian Parborg (zeddb) @Philipp Oeser (lichtwerk) can you chime in with your thoughts on this?

Hm, this might seem like a valid usecase.
However the downside of having something appear as animatable (where in reality it is not) outweights the pros in my opinion.
If this is just meant to update a collection of objects to the same value, I think there are other ways to achieve this [while possible not as convenient, true]

I would be interested to hear another opinion on this: @Sybren A. Stüvel (sybren): what do you think?

Oh, and btw. : we might dare supporting the real thing (having masses be really animatable while the simulation is running), see D11640: Fix T88188: Allow keyframing vertex mass in cloth sim

I feel that the title "Vertex Mass on cloth simulations no longer animatable" is misleading, as it was never really animatable to begin with. The fact that the animation system could be used to work around some other issue is nice, but not something we (IMO) should be actively supporting/promoting.

D11640: Fix T88188: Allow keyframing vertex mass in cloth sim seems like a simple enough solution. I don't know that much about the code in that area to give concrete feedback on the approach used. If that patch is acceptable, I'd much prefer that over other workarounds.

Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Known Issue".

If this usecase is not meant do be tackled with the animation/driver system, I think we should close this (even independently from D11640 being landed).

@Daniel Martynów (DanteBoi) : feel free to drop by https://blender.chat/ to discuss a suitable workaround for this usecase (outside the driver/animation system).