Object desapear after mouve 5 Cell

Post » Sat Feb 19, 2011 1:11 am

Hi

I make a script for using boat
But i have a probleme when i use my boat, after travel about 5 cell, the object desapear. I don't know why and how fixe it

Anyone had this probleme?
User avatar
Ann Church
 
Posts: 3450
Joined: Sat Jul 29, 2006 7:41 pm

Post » Fri Feb 18, 2011 9:46 pm

Are you using SetPos or MoveTo to move your boat?

I find using SetPos to move objects continuously stops working after a while. The workaround is every 5 or 10 frames or so, use a MoveTo command to move the boat to a different cell, and then move it back the following frame.

As for MoveTo, it is processor intensive. If you use it every frame, it will probably stop other scripts from running, and if you're using it exclusively, this might be why it stops working.
User avatar
lauren cleaves
 
Posts: 3307
Joined: Tue Aug 15, 2006 8:35 am

Post » Fri Feb 18, 2011 10:29 pm

Yes i use PosX but i will try new solution using havok on boat for object colision
User avatar
Ryan Lutz
 
Posts: 3465
Joined: Sun Sep 09, 2007 12:39 pm

Post » Sat Feb 19, 2011 11:08 am

I havn't any found solution.
Always same probleme :(
User avatar
Jordyn Youngman
 
Posts: 3396
Joined: Thu Mar 01, 2007 7:54 am


Return to IV - Oblivion