Vehicles vanishing on sim crossing
Posted: Tue Jul 27, 2021 5:57 pm
Asking for help from the Kitely / Opensim community.
This problem doesn't occur on Kitely so much because Kitely consists of individual, un-joined worlds without sim lines. However on other grids, I have noticed that a vehicle that crosses a sim line instantly vanishes. I'm asking about this here because Kitely people are pretty smart-- and if I'm going to put this on Kitely Market, it has to work across the Hypergrid.
Note: the script is a non-physical BOAT script (movement based) where the vertical axis doesn't change. It goes forward, backward and turns. So physics aren't involved, nor is gravity. Just position and rotation.
I have examined the script top to bottom. I've put debug-triggers all the way through it, trying to find if the script is responsible. Here are my findings thus far:
* The debug triggers indicate there's no specific part of the script where the vehicle dies. The moment it hits a sim line, just POOF. Gone.
* llDie() functions are NOT responsible (I eliminated them and the vehicle still vanished).
* The vehicle actually vanishes. I put in a timer llOwnerSay() notification of current vehicle position. I receive 1-second interval updates of the vehicle position until it vanishes... then then notifications stop, indicating the vehicle self-destructs.
* I've already written a routine to detect sim crossing and re-set the positioning. The vehicle appears to vanish the moment it touches the sim line, before the routine has a chance to work. So it doesn't seem to be a matter of trying to move the vehicle to a non-existing coordinate. It acts more like an internal Opensim system bug (thus making me wonder if anyone has found a bypass to that bug).
Of course these are just based on observable evidence. I'm not really sure what's happening to the vehicle. All I know for certain is it vanishes when it hits a sim line. Doesn't stall, doesn't re-position. It obliterates.
On SL it is common for vehicles to stall at sim edges, but not to instantly and totally vanish. So I'm wondering if anyone has any experience with this on Opensim and could shed light on the issue. Thanks!
This problem doesn't occur on Kitely so much because Kitely consists of individual, un-joined worlds without sim lines. However on other grids, I have noticed that a vehicle that crosses a sim line instantly vanishes. I'm asking about this here because Kitely people are pretty smart-- and if I'm going to put this on Kitely Market, it has to work across the Hypergrid.
Note: the script is a non-physical BOAT script (movement based) where the vertical axis doesn't change. It goes forward, backward and turns. So physics aren't involved, nor is gravity. Just position and rotation.
I have examined the script top to bottom. I've put debug-triggers all the way through it, trying to find if the script is responsible. Here are my findings thus far:
* The debug triggers indicate there's no specific part of the script where the vehicle dies. The moment it hits a sim line, just POOF. Gone.
* llDie() functions are NOT responsible (I eliminated them and the vehicle still vanished).
* The vehicle actually vanishes. I put in a timer llOwnerSay() notification of current vehicle position. I receive 1-second interval updates of the vehicle position until it vanishes... then then notifications stop, indicating the vehicle self-destructs.
* I've already written a routine to detect sim crossing and re-set the positioning. The vehicle appears to vanish the moment it touches the sim line, before the routine has a chance to work. So it doesn't seem to be a matter of trying to move the vehicle to a non-existing coordinate. It acts more like an internal Opensim system bug (thus making me wonder if anyone has found a bypass to that bug).
Of course these are just based on observable evidence. I'm not really sure what's happening to the vehicle. All I know for certain is it vanishes when it hits a sim line. Doesn't stall, doesn't re-position. It obliterates.
On SL it is common for vehicles to stall at sim edges, but not to instantly and totally vanish. So I'm wondering if anyone has any experience with this on Opensim and could shed light on the issue. Thanks!