Jump to content

Adding spinning animation to objects


Recommended Posts

Hi, i'd like to make a static object have an infinitely slow spin; but i am unsure how i would achieve this. Has anybody had any experience with this?

 

UPDATE: I am investigating the script by Journey man and Hobo Feral, looks promising. If i can get it too work i'll put a tutorial up crediting both users; thanks for all your responses!

Edited by Guest
Link to comment
Share on other sites

Open up "CeilingFan01" in nifskope and your nif in another window. The nif with your trishape you'll want to right click on it, copy branch. Go to the other nif and on the Ninode where the blades trishape is right click, paste branch. You'l need to change the bs properties as these values get overwritten by the original nif. On the trishape you just pasted, open the drop down and click "BSLightingShaderProperty" go to block details. On the "name" you should copy your own address here or type it in e.g.. (Data\materials\Yourfolder\whereveryouhavethemesh\yourmesh.BGSM) if it has alpha property you'll have to copy into the ninode aswell and type the number it has underneath where you put your material address.

 

Position it as you please and when your done right click on the top Ninode (0 NiNode) transform and apply, save into your gamr folder (Data\meshes\Yourfolder\whereveryouhavethemesh\yourmesh.nif)

 

Let me know if that works for you.

Link to comment
Share on other sites

WorkshopCeilingFanLight01 is rotating via script (ApplyFanMotor).

Using this method, object can be stopped by collision force.

I haven't use this function, so can't say detail.

 

Another method is editing .nif file.

Put on your node a NiTransformController. Then set the flag "active cycle".

NiTransformController needs a NiTransformInterpolator.

NiTransformInterpolator needs a NiTransformData.

You can set quaternion keys in NiTransformData for rotation which you want.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...