|
a lost user
Join date: ?
Posts: ?
|
08-15-2005 08:32
I tried making a propeller spin around a little using a slow rotation script but then I can't attach that to the rest of the vehicle or the entire vehicle begins to rotate... Is there any way for this to work? I'm desperate! This is what I need: http://img323.imageshack.us/my.php?image=d1mp.jpgThanks to any and all who can help!
|
|
Michael Martinez
Don't poke me!
Join date: 28 Jul 2004
Posts: 515
|
08-15-2005 08:49
Most people make a propeller texture and just spin that...as easiest.. If you are using llSetRot, need more work to make it spin while not spinning the rest.. If using llOffsetOmega then it works linked, but cannot be primary (last clicked) prim as then all will spin, if propeller is more then 1 prim then have to work in timing, etc..etc.. So easiest is to make/get a propeller texture and just spin that...as then the prims don't matter 
|
|
a lost user
Join date: ?
Posts: ?
|
08-15-2005 08:54
Thanks, but for this particular.. erm... project (  ) I need an actual propeller spinning slower than an actual propeller would and I need the propeller to be visually spinning. =/ You think I should play with llSetRot?
|
|
a lost user
Join date: ?
Posts: ?
|
08-15-2005 09:06
default { state_entry() { integer x = 0; vector eul = <0, 0, 45>; rotation quat = llEuler2Rot( eul ); for(x = 0; x < 500; x = x+20){ eul = <0, 0, x>; eul *= DEG_TO_RAD; //convert to radians rotation quat = llEuler2Rot( eul ); llSetRot( quat ); //rotate the object if( x == 360){ x = 0; } } }
}
Ok I used that and it makes it spin, but it still spins everything if I attach it to the object, or it will just spin the calendar that holds the propeller blades.
|
|
a lost user
Join date: ?
Posts: ?
|
08-15-2005 10:53
Using this thread /54/8a/44187/1.htmlI am able to get the cylinder (rotor pipe) to spin without the main object spinning but only the cylinder spins, not the two blades on each side...
|
|
a lost user
Join date: ?
Posts: ?
|
08-15-2005 12:19
I just did what you said to do with a texture. Solved =P
|