Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

.

Tazmania Trefusis
Registered User
Join date: 13 Jan 2008
Posts: 85
03-06-2008 19:46
I posted before about a flight script for a UFO
Have now changed the flight script to another much better one that offers more control over the speed and hovering etc.

The UFO build is fine until i start adding extra stuff. These extra components consist of items like ariel, storage box etc..all just asthetics. The prim count is well below the max for a vehicle of this type (31) but im only on 20+ and now the UFO flies strange. It just turns..no up or down..just turns on the spot and very quickly

Yet if i take the seat out (which contains the flight script!) it flies perfectly!.
I do have a spinning component in the hull..wonder if this could effect any physics!!

Any idea anyone?
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
03-06-2008 20:17
;
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-06-2008 20:42
I would assume if it still flies after you remove the part with the flight script, that there is still a flight script in there in another prim.... a rotation script in the root might affect the physics (by changing it's orientation) but balance inst something that SL takes into account for flying onjects so a non root use shouldn't be a problem.

if you want help with a script not working as expected, it's alot easier if you actually post the script... otherwise it's hard to know what's wrong with it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Tazmania Trefusis
Registered User
Join date: 13 Jan 2008
Posts: 85
Flight script acting all weird and physics shot to hell!!!
03-08-2008 10:30
Well i made some head way today. I completely dismantled the UFO, and added the various parts piece by piece. Then when it came to adding the rotating outer hull ring..all hell broke loose. The rotation script is not in the seat..where the flight script is but in the rotating ring (obviously!)
The hull doesnt rotate but an outer ring does..this gives the illusion of flashing lights around hull edge as the circular hull ring has edges/corners around it as its not a perfect circle. I resized the ring so only the ring corners/edges potruded through hull and then put a rotation script on. The ring also had GLOW applied to it. So the rotating hull ring must be affecting the physics of the UFO!

So i either find a work around..maybe have rotating textures instead but cant have glow on parts of a texture really..or change the orientation of the ring in some way but the hollow hole is only on one axis..you cant pick and choose which axis the hollow hole lies on..just like you cant choose which axis the dimple hole is on on a sphere!!

I wont post the script as there is nothing wrong with it..its ideal for what i want and I dont want to use another flight script

*UPDATE!*

I disabled the rotation on the ring..tried it and bingo, it flew perfect
I then went back into the rotation script, clicked on RUNNING and saved & reset...
It flew perfect!!?? lol

*UPDATE 2*

I had a flexi ariel on the back of the hull. I had turned off all flexi properties of the ariel when trying the above..but when I just put the flexi properties back on!..UFO wouldn't fly properly!! And NO..none of these scripts/rotations/flexi properties are on the root prim. The root prim only contains the flight script

Bizaare behaviour to say the least!!

Query!> Why would the UFO be non-phanton one minute and then be phantom the next?? despite having turned the rotation script off..and it was physically not turning??
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-08-2008 13:07
others have noted odd or broken behavior when including flexis in vehicles... it's been suggested that if you edit the flexi after linking it will break the vehicle (dunno, vehicle not really my thing).

as for the ghosting (phantom) problem, I have no idea.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -