Search found 18 matches

by John Hopkin
Fri Jun 14, 2019 3:15 pm
Forum: Scripting
Topic: Garage Door Script
Replies: 2
Views: 1079

Re: Garage Door Script

Hi Greg. At a glance, there are a couple of things very wrong with this script. I've made a couple of changes that may help, but I've not tested it: //door script vector gPos; rotation gRot; default { touch_start(integer total_number) { gPos = llGetPos(); gRot = llGetRot(); llSetRot(llEuler2Rot(<0.0...
by John Hopkin
Sun Jun 02, 2019 7:54 pm
Forum: Worlds Support
Topic: Scripts Not Running After Restart
Replies: 19
Views: 2361

Re: Scripts Not Running After Restart

Thanks, Tonia. I've run OSGrid regions myself, and other grids too, so I'm familiar with the OpenSim.exe console. What I don't understand is the difference between the two scenarios you describe here: if I re-started a region from the console many scripts would fail to start. Anyway if I re-started ...
by John Hopkin
Sun Jun 02, 2019 5:57 pm
Forum: Worlds Support
Topic: Scripts Not Running After Restart
Replies: 19
Views: 2361

Re: Scripts Not Running After Restart

if I re-started a region from the console many scripts would fail to start. Anyway if I re-started the simulator Xengine would tell me that all the scripts had been started and then I had no further problems. Hi Tonia. Could you clarify this please? How exactly are you restarting the region in thes...
by John Hopkin
Thu May 23, 2019 6:27 pm
Forum: Scripting
Topic: Need help re Material Alignment Script
Replies: 2
Views: 913

Re: Need help re Material Alignment Script

I've done a bit of experimentation with this code, and it looks to me like what you're trying to do is not currently possible in OpenSim. This Mantis report seems to describe what I'm seeing, and it's still flagged as an open issue, even in OpenSim 0.9. In short, you still can't set the properties o...
by John Hopkin
Wed May 22, 2019 3:12 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Re: Object centre moving between Blender and OpenSim

I think we have a success here, thanks to Zed. He demonstrated to me how to create a dummy geometry that forces the centre of the exported object to be in exactly the same position as the geometric centre of the tetrahedron, as he described above. All I had to do was figure out how to do that in Ble...
by John Hopkin
Wed May 22, 2019 12:52 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Re: Object centre moving between Blender and OpenSim

Thanks, Zed! You're definitely on to something with that method. The origin is centred horizontally, which is great for rotations around Z. Unfortunately, it's not in the centre in other axes, but slightly higher than that. You can check that easily by positioning a slightly smaller sphere in precis...
by John Hopkin
Tue May 21, 2019 3:10 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Re: Object centre moving between Blender and OpenSim

Hi Zed. Thanks for getting back to me. Replies to your points (numbers don't relate to your numbers): 1. The vertical axis in Blender is Z by default, so normally objects imported into SL/OS have the same orientation. This has caused problems when I've made objects for Unity (with its Y vertical), s...
by John Hopkin
Mon May 20, 2019 4:15 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Re: Object centre moving between Blender and OpenSim

After more experimentation today, I've found that if the tetrahedron is exported and uploaded after step 3, everything is OK except that the rotation is not what's needed. Step 5 - applying a rotation to align one of the faces to the floor plane - seems to be the point at which the origin of an expo...
by John Hopkin
Mon May 20, 2019 1:55 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Re: Object centre moving between Blender and OpenSim

Many thanks, Zed. Unfortunately, I didn't describe what I'd done very well, so I'll explain it step-by-step and see if that relates to your description. The object I linked was not the one I made - that's where I sourced the geometry from (and I tried a couple of others too). I'll use that file I li...
by John Hopkin
Sun May 19, 2019 2:19 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 2009

Object centre moving between Blender and OpenSim

Hi. I have a tetrahedron in Blender that I need to import into Kitely. When I do this, the centre of the object shifts, which unfortunately makes the object useless. I can't for the life of me figure out why this is happening. To get the object into Kitely, I exported to DAE, then upload the DAE usi...