License from €75 Log in
DE EN FR ES IT CZ

In Engine Documentation can not see code "align charcter"

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 5 years ago
    in Engine Documentation can not see code "align charcter"
    I want the character to be facing the cursor
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 5 years ago
    you mean the Lua command to allign a character in a certain position?

    That should be:
    Characters["Name"].Direction = 0
    (0 = right, 90 = up, ...)
  4. · 5 years ago
    you mean the Lua command to allign a character in a certain position?

    That should be:
    Characters["Name"].Direction = 0
    (0 = right, 90 = up, ...)

    Kind of, but they said they want to align the character to the mouse cursor, but that requires a bit of math & I can't remember what it is off the top of my head & the wiki server currently appears to be down - I'm sure I posted an example on there ages ago.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?