Different wiggles?

Started by Tony Origami

Tony Origami Lv 1

It seems as if from the interface you can wiggle with nothing selected but from a script you can't. Is that the case and does it have to be like that? The wiggle with nothing selected produces a different result from one with everything selected.

Rav3n_pl Lv 1

It looks to me that when you select it runs "local wiggle" routine, and when nothing is selected "global wiggle". But unsure about that.
Also GUI scipt wigle and LUA script wiggle seems to work differently also. IE GUI LWS not making negative points like LUA do sometimes.

Tony Origami Lv 1

This looks to me like a major problem and one that can be easily fixed. Could someone let me know what is the story with wiggles and scripts. I want to be able to wiggle an unselected protein from a script just like we do with the wiggle button on the interface.

Rav3n_pl Lv 1

Changed to bug.
On 439 (another locked puzzle) lua scripts can`t do wiggle properly.
Easy to duplicate:

GUI wiggle causes to move frozen area, LUA not.
It should be identical, or we should have ability to use same functions in LUA.

Rav3n_pl Lv 1

How to replicate: in 448 pull locked part by bands toward and make clash, set CI=1

Script in lua V2:

selection.SelectAll()
structure.WiggleAll(2)
structure.WiggleSelected(2)
selection.DeselectAll()
structure.WiggleAll(2)
structure.WiggleSelected(2)

It should jump away at some point, but it holds.

Now deselect all and press wiggle - moving away.