Page 1 of 1

Face object without smartseek

PostPosted: Thu Oct 14, 2010 4:42 pm
by sinkillerj
I am trying to recreate the casting of MagiQuest Online, using the following code everything is perfect however the avatar does not turn to face the object. Is there a way to do the animation in place and still turn to face the object?

Code: Select all
CastObjectOneShot:
    logic:
        actions:
          - type: oneshot
            name: CastObjectOneShot
            oneshot:
                animation: CastMedium
           smartseek: false
                noseek: true

Re: Face object without smartseek

PostPosted: Thu Oct 14, 2010 7:16 pm
by Paradox
The "rotate" mode used in MagicQuest was added specifically to that version, no versions of Uru have anything that does that. :(

I remember talking to Chogon at some point before it was implemented in MagiQuest, and he said they would need to add support (which they did) for rotate-to-face points.

Re: Face object without smartseek

PostPosted: Fri Oct 15, 2010 6:48 pm
by sinkillerj
Hmm hard coded as I feared. Would it be possible with python or otherwise to move the seekpoint to the coordinates of the avatar locally, as well as use math to rotate it to point at the object? It would then have to trigger the oneshot.