Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Interesting bug.

CoCoNoNo Anubis
Skylark Mechanic
Join date: 28 Jun 2004
Posts: 40
07-12-2004 13:58
I've been working on a flying leisure craft and discovered an interesting bug I haven't been able to overcome as of yet. Whenever someone rezzes something onto the craft, the rezzed object brings the boat to a complete stop.

Normally this wouldn't be an issue (its actually a pretty cool idea since we could moor the boat and use it as a stage), but some twit (Jade something...) in Cordova plunked a %^*&ing slot machine onto the boat, essentially hijacking us until I had the presence of mind to Edit move the boat out of way of the offender and making way.

Has anyone come up with ways to overcome this kind of stuff script wise? Like an Anti-Rezzing forcefield or something?
_____________________
-CoCoNoNo
Current Major Projects:
CoCoHoBo - Personal conveyance not for the faint of heart.
Dreamer Class Skyships - Personalized skycraft for small parties or gatherings.
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
07-12-2004 14:15
It could be that the rezzed object creates interpenetration with a physical object (your vehicle)

SL's reaction to physical objects interpenitration is to turn off physics. This may be your problem.

This happens a lot during sim crossings. If this your problem I have a (hacky) solution.

Basically, have a script running on a timer, checking if the object is still physical. If not, attempt to enable physics. If physics still can't be turned off, setpos self upwards, and try again. Repeat until you get physics, or you give up.

Memory is fuzzy, but I think I documented this on the wiki.
_____________________
--
~If you lived here, you would be home by now~
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
another solution
07-16-2004 01:49
another solution is to on that same timer instead of moving up when it can't turn physical, have it turn phantom and try again.