Rotating an actor

Post » Mon Jan 07, 2013 3:16 pm

This is another one of those things that seems like it should be simple, but isn't.

I want to rotate an actor along its X or Y axis, rather than its Z axis. Case in point: I want a spider to run up a vertical surface.

I am quite content scripting the movement and animations manually; all I want is for the critter to be oriented correctly. Problem is, of course, that the Translate/SplineTranslate functions don't rotate an actor along any axis other than Z. Neither does SetAngle.

What doesn't work:
  • Changing the Tilt Front/Back/Left/Right toggles in the Race menu
  • SplineTranslating the actor to a target that's oriented differently along the X or Y axis
  • Manually setting the actor's X or Y angle in the cell editor
  • Enabling "bAllowRotation" (though it does make the actor spin wildly in an amusing way.. along the z axis)

It seems like the limitation is hardcoded... Any ideas?
User avatar
John Moore
 
Posts: 3294
Joined: Sun Jun 10, 2007 8:18 am

Return to V - Skyrim