Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Moving object issue

  • #1, by dramamini 12 years ago Zitieren
    Hi!
    There is a bug when moving objects. If you try to move an object for example by (0, 40) with a duration of 200 ms, you have tou wait for 200 ms in order to move the same object again at same distance. When you click faster the hotspot that moves the object, object is being moved at the same direction but at another, unspecified distance and you lose object control.

    In order to skip this bug, you have to deactivate the hotspot that moves the object, for 200 ms, preventing a faster next click by the user.

    (I hope you understood! Sorry for my bad english)
  • #2, by afrlme 12 years ago Zitieren
    You could try my workflow function in the script index of the wiki. http://wiki.visionaire-tracker.net/wiki/MoveObj_%28CMS%29

    I don't know if it works any different to the move object action part mind.
  • #3, by dramamini 12 years ago Zitieren
    I will try it! Thanks AFRLme!
  • #4, by afrlme 12 years ago Zitieren
    Oh by the way: The object doesn't move by incremental values, the values you set are coordinates. It should probably say "to" not "by" in the editor.
  • #5, by SimonS 12 years ago Zitieren
    The next version will overwrite any tween that has the same target field if a new tween is specified. That's a bug in the old version. You should save the target position in a value and not use the current position so it just adds up to the position.
  • #6, by afrlme 12 years ago Zitieren
    Hmm I was wondering if it would overwrite the table for the tween based on target name or something. I wasn't sure if it did or not, as I haven't tested it.
  • #7, by Alex 12 years ago Zitieren
    Oh by the way: The object doesn't move by incremental values, the values you set are coordinates. It should probably say "to" not "by" in the editor.

    It moves by incremental values. The action part label is correct.

    Internally the action part values X,Y are added to the current value of VObjectOffset. Maybe you're modifying the object offset in one of your scripts or something like that.
  • #8, by afrlme 12 years ago Zitieren
    I thought it moved to the coordinates I specified when I tried your action part. Wouldn't it be a good idea to add the option to declare whether it should: set, plus or minus? like the set value action part for example.
  • #9, by Alex 12 years ago Zitieren
    yeah, maybe I'll add another action part where you can send the object to a specific position (adding an option to the existing action part is not possible because internally we only have 3 int values per action part).