
These forums are CLOSED. Please visit the new forums HERE
Set Down Stretcher |
|
|
TP Spad
Registered User
Join date: 13 Dec 2007
Posts: 5
|
12-14-2008 18:19
I created a one-person stretcher script by modifying modifying a follow script. It is angled so it is higher at the front. I have it set so on touch it follows and stop following. What I'd like to do is have it "set down" when it is stopped. I know how to change the height, but how can I leave it pointing in the same direction, but have it rotate so the front end goes down? Rotations make my head spin.
![]() |
|
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
|
12-14-2008 18:46
look into llSetPos() and or llSetRot()
if i understand right wiki.secondlife.com |
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
12-15-2008 07:21
i assume you're using a regular following pet type script. using llLookAt in the sensor function will make it look at who it's following, you do something like llDetectedPos(0) + <0.0,0.0,-1.0> to make it look a little below who it's following (the top of the prim faces the direction, so you may need to tweak it a little, or make the root an invisible prim and have everything else rotated accordingly
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |