![]() |
| Second Life Bench |
Building It!
I started out by creating four identical bench feet by first creating one and then held down the shift key and moved the prim to create an exact copy of it. I repeated this process for all fours.
![]() |
| Bench Feet |
Then I created the base and back out of two boxes, stretched and flattened them out as required and positioned them appropriately.
![]() |
| Base & Back |
![]() |
| Cushions |
After I was happy with the way it looked I linked all the parts together to make one, but I left the base cushions out as these I want to treat as three separate seating positions, otherwise the bench would be only available for a single person to sit on.
![]() |
| Linked Prim except for base cushions |
Scripting It!
The final step now is to sit on the object I have create. By default second life offers the functionality to sit on any prim but this might not always have the desired result as the image below clearly shows
The final step now is to sit on the object I have create. By default second life offers the functionality to sit on any prim but this might not always have the desired result as the image below clearly shows
![]() |
| Unnatural way of sitting isn't it? |
To overcome this I had to create a script in each of the base cushions which determines the exact point where the avatar will sit on the prim and a what rotation.
I must say, at least these things are really easy to script as so many functions already exist in second life that you rarely have to have to create your own.
llSitTarget(<0.4,0.0,-0.60>, <0.0,0.0,180,0.0>;
I must say, at least these things are really easy to script as so many functions already exist in second life that you rarely have to have to create your own.
![]() |
| Final Result |







No comments:
Post a Comment