|
Siann Beck
Beauty & Braiiiiinsss!
Join date: 14 Jul 2007
Posts: 140
|
08-11-2007 05:31
I'm trying to make some window blinds that actually slide open, not just change textures. I've seen this behavior with other blinds and a garage door device. Simply scaling the prim doesn't work, as it scales to and from the center, not one edge, as desired. I tried linking it to another prim and making that the root, in the hope that that would hold the position, but the main prim simply pulls away from it. I can scale and then re-position, but that gives a clearly visible scale/jump operation, not a smooth scrolling.
Any suggestions?
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
Cut the blinds in half
08-11-2007 07:31
Make a cube
Rotate the X-Axis to 270
Path Cut Begin and End 0.375 and 0.875
Make the Size in the Z-axis very skinny
Size the X-Axis to the width you require
Vary the Y-Axis to have the shape scale relative from the cut edge - which is in fact the centre but now that half the object is invisible (cut away) it will look as if the object is acting like a blind.
|
|
Siann Beck
Beauty & Braiiiiinsss!
Join date: 14 Jul 2007
Posts: 140
|
08-11-2007 08:47
I get the basic idea of what you're saying, but following the steps, I still get it scaling around the apparent, visual center. Perhaps I got a step wrong.
However, I found that if I use llSetPrimitiveParams to scale and reposition, it's fast enough that there is no visible jump.
Thank you very much for taking the time to answer!
Edit: P.S. I got your method to work, and while it's good, is not suitable for my purpose, as I need the blinds to be wider than 5m.
|