Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: TurnTo Animation, clockwise / counterclockwise?  (Read 3203 times)

0 Members and 1 Guest are viewing this topic.

chrisras

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • View Profile
TurnTo Animation, clockwise / counterclockwise?
« on: October 10, 2008, 04:37:04 PM »

Hello!

I like to have a TurnTo-Animation for my 3D-Actor.

One question is, how do I know when my actor is going to turn clockwise or counterclockwise?
I need this info, so the actor can begin his TurnTo-Animation with the left or right foot and turn his head/upperbody first in that direction.

Another question is where I can affect the TurnTo method...
My idea was implenting it in the actor.script with a WalkTo-Method and
WalkToObject-Method, which first turns the character in a direction with animation
and after finishing this animated TurnTo, invokes the real GoTo.
« Last Edit: October 10, 2008, 04:38:45 PM by chrisras »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: TurnTo Animation, clockwise / counterclockwise?
« Reply #1 on: October 15, 2008, 11:09:22 AM »

You don't really need to script turning animations yourself, you can assign them directly in the .actor definition. Or am I missing something?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

chrisras

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • View Profile
Re: TurnTo Animation, clockwise / counterclockwise?
« Reply #2 on: October 17, 2008, 09:47:46 PM »

Yes I just saw that.... Feel a little dump now :-(

Very comfortable way of doing the turning animation.
The Wintermute-Engine is really well thought out.
Logged
 

Page created in 0.044 seconds with 23 queries.