Possible to levitate objects?

Post » Sun Oct 13, 2013 8:46 pm

I'm currently working on a mod where there is a dimensional rift, it soul svcks corpses near by, and changes their bodies into filled black soul gems.
Just spawning the gems at the corpses body location seems too simple- id like some sort of animation where the gem hovers or floats at the location, or perhaps some sort of svcking effect on the rift itself where it svcks physics props into it and consumes it.

Anyone know where to start?
If this was Garry's mod : in LUA I would be scripting a movement mode change to no gravity, and then apply a little bit of force to get it to hover in a specific location per frame:
Alas - not Garry's mod-
So far I'm using onInit and register single update to perform the soul svck every 2-5 seconds, not sure if physics calculations would be right in this area?
User avatar
Umpyre Records
 
Posts: 3436
Joined: Tue Nov 13, 2007 4:19 pm

Post » Sun Oct 13, 2013 6:54 am

Wiki mentions
Skeever.ApplyHavokImpulse(0.0, 0.0, 1.0, 1000.0)

As a way of applying upwards force,
I guess I can try it tomorrow to see if it's possible to rapidly apply a small amount of z force to levitate in a location.
User avatar
Yonah
 
Posts: 3462
Joined: Thu Aug 02, 2007 4:42 am

Post » Sun Oct 13, 2013 10:38 am

http://www.creationkit.com/TranslateTo_-_ObjectReference

http://www.creationkit.com/TranslateToRef_-_ObjectReference

http://www.creationkit.com/SetMotionType_-_ObjectReference

:-)

User avatar
Victoria Vasileva
 
Posts: 3340
Joined: Sat Jul 29, 2006 5:42 pm


Return to V - Skyrim