Allow AVpos-shifter to modify position and rotation at once.
This commit is contained in:
parent
708f7fb2e1
commit
6ed9496177
1 changed files with 6 additions and 1 deletions
|
@ -143,8 +143,13 @@ default
|
|||
if (v != ZERO_VECTOR)
|
||||
{
|
||||
llOwnerSay("Converting positions in " + notecard_name + " by offset: " + (string)v);
|
||||
cut_above_text();
|
||||
target_prim_pos = -v;
|
||||
v = (vector)llList2String(llCSV2List(msg), 1);
|
||||
if (v != ZERO_VECTOR)
|
||||
{
|
||||
target_prim_rot = llEuler2Rot(v * DEG_TO_RAD);
|
||||
}
|
||||
cut_above_text();
|
||||
notecard_query = llGetNotecardLine(notecard_name, notecard_line);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue