springbone_add_force not updated at runtime
Closed this issue · 1 comments
I've experimented with creating a dynamic wind effect and noticed that springbone_add_force updates correctly in editor (if Update in Editor is ticked ofc), but doesn't affect the bone simulation at runtime.
I blame this part.
#vrm_secondary.gd line 203
if not Engine.is_editor_hint() or check_for_editor_update():
Basically, control only reaches the part where springbone_gravity_multiplier, springbone_gravity_rotation and springbone_add_force only in editor.
I've solved it with a dirty hack for now, but would be nice to have it as an integral part of the addon^^
Thanks for the report. I will try and work on this issue this week. Ideally it would be possible to modify more properties on spring bones, and at least be able to modify properties at runtime.
I also hope to make vrm_secondary less dependent on vrm_toplevel. My plan is to add signals so we can fire a signal to all VRMSpringBoneLogic instances when properties change (possibly deferred so the signal can be batched)