Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotation Script

Soap Clawtooth
Registered User
Join date: 13 Feb 2008
Posts: 200
04-12-2008 14:02
My AV uses a rotation script, two, actaully but its the same script. Now, I've noticed since havok 4 was impletemented that the script no longer works i have no idea why - in some sims it works okay and constantly but in some places like help island public it just stops (and in no script zones but they worked in such zones before havok 4 too). So I was wondering if there was any kind of update needed for the rotation script since havok 4 to account for the new physics?

heres' the current code:


default
{
state_entry()
{
llTargetOmega(<0,0,0.01>,PI,1.0);
}

}



Any ideas?
Soap Clawtooth
Registered User
Join date: 13 Feb 2008
Posts: 200
04-12-2008 14:19
Oh. I just found out havok 4 has a problem with rotation script when its attached to an AV. But i think it could be done with llsetrot and some clever math - way out of my league, can anyone help? :)
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
04-12-2008 14:26
lltargetomega;

Physics
* If the object is not physical then the effect is entirely client side.
* If the object is physical then the physical representation is updated regularly.
Link Sets
* If the script is attached to the root prim, the entire object rotates around the region axis
o If the object is attached then it rotates around the attachment axis
* If the script is attached to a child prim, the prim rotates around the local axis
o A Child prim can rotate around its own axis while the entire object rotates around another axis.
Soap Clawtooth
Registered User
Join date: 13 Feb 2008
Posts: 200
04-12-2008 15:48
Its not clientside as a few people i know use the same AV - and I do not see their's rotating either.
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
04-14-2008 16:42
See this other thread. /54/7b/238700/1.html

TargetOmega is buggy. There are several Jira items on it.

http://jira.secondlife.com/browse/SVC-1910
_____________________

VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30
http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240
http://shop.onrez.com/Archtx_Edo