How to make an object fall?

Post » Thu May 03, 2012 10:50 pm

I know it sounds silly, but I have problems making a regular object fall!

After using SetPos commands, the object floats in mid air. Bumping into it or hitting it with a spell makes it resume normal havok and it falls normally, but I want it to start falling as soon as it's been placed where I want it.

Things I've tried to give it a "bump":

SetVelocity
SetVerticalVelocity
MoveTo (self)
SetPos to change the position again slightly
Moving a collisionbox to the same location at the same time, then disabling the collision box

Any ideas?
User avatar
Jeff Tingler
 
Posts: 3609
Joined: Sat Oct 13, 2007 7:55 pm

Post » Fri May 04, 2012 6:41 am

The only way i have found so far is to place a scaled-way-down creature a little above the object.
The creature falls on the object, the object havok wakes up and it falls.
User avatar
Rudy Paint fingers
 
Posts: 3416
Joined: Sun Nov 11, 2007 1:52 am

Post » Fri May 04, 2012 9:47 am

Thanks for that suggestion - not very elegant but I suppose it would work. :)

I ended up using an invisible activator to cast a spell at the object and explained the reason for the visual effect with a quest update. Oh well.
User avatar
AnDres MeZa
 
Posts: 3349
Joined: Thu Aug 16, 2007 1:39 pm

Post » Fri May 04, 2012 10:43 am

I ended up using an invisible activator to cast a spell at the object and explained the reason for the visual effect with a quest update. Oh well.
You can use a scripted spell with no visual effect for this. There doesn't even have to be anything in the script, other than a name and maybe a blank begin/end block. That way, there's no visual effect to explain.
User avatar
nath
 
Posts: 3463
Joined: Mon Jan 22, 2007 5:34 am

Post » Thu May 03, 2012 10:07 pm

I had tried a scripted spell with no visual - either the spell was missing the object or it had no effect... hard to tell. Even with a spell that had a visual effect, it would still miss the object sometimes so I eventually game up on the idea... :P
User avatar
Andrew
 
Posts: 3521
Joined: Tue May 08, 2007 1:44 am


Return to IV - Oblivion