• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-102
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Duplicate
Priority: Normal Normal
Assignee: Unassigned
Reporter: Haravikk Mistral
Votes: 4
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

PRIM_LOCALROT for llSetPrimitiveParams()

Created: 09/Apr/07 01:45 PM   Updated: 24/Nov/07 12:02 AM
Return to search
Component/s: Scripts
Affects Version/s: 1.13.4
Fix Version/s: None

Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
Simple script addition. I just noticed today that when using llSetPrimitiveParams() that the only rotation option is PRIM_ROTATION, however this behaves identically to llGetRot() which means that local rotations won't work in it.

The suggestion therefore is to simply add a PRIM_LOCALROT (or similarly named) parameter in so that we can do batch updates using local rotations. For example, on a child prim the following code:
llSetPrimitiveParams([PRIM_POSITION, localPos, PRIM_LOCALROT, localRot]);

Would be the equivalent of:
llSetPos(localPos);
llSetLocalRot(localRot);

However it can be done in a single step this way. This would of course need to work with related primitive parameter functions.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Lex Neva added a comment - 11/Apr/07 09:08 AM
Linking this issue to SVC-93. As it turns out, PRIM_ROTATION is broken in child prims. It's incorrectly implemented, making doing what you want to do even more difficult.

Day Oh added a comment - 13/Jun/07 09:00 AM
Workaround: Divide the local rotation by the root rotation.

Thraxis Epsilon added a comment - 24/Nov/07 12:02 AM
Resolving this as duplicate in favor of SVC-129, which has more votes.