Nyx Alsop
Registered User
Join date: 14 Dec 2008
Posts: 252
|
01-01-2010 04:22
removed
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
01-01-2010 06:38
Please, don't DO that! Once you ask a question, it's not yours any more. It belongs to the forum. There are other people who may have wanted to know the answer. When you remove a question, you deny them the chance to learn. It doesn't matter whether you figured it out all by yourself, or you were embarrassed to have thought of such a silly (to you) question. Your generous act of asking the question in the first place helps other people in ways you may not imagine.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
01-01-2010 08:10
Seconded. I'd been hoping that replies to the original question -- how to make a component of a vehicle continue to point the same direction, no matter how the vehicle itself moves -- might give me some clues about a problem with which I've been playing recently.
For what it's worth, I've been trying to make a child prim on a hovering vehicle rotate independently of the vehicle, to point where I direct it. All the solutions I've tried with llRotLookAt and llLookAt, which work perfectly well in a child prim of a physical object that's not a vehicle, seem to cause the whole object to spin uncontrollably if deployed in an actual vehicle. If anyone does have any suggestions, I would be most grateful.
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
01-01-2010 10:25
Not to mention the scripting forum doesn't need a "just ignore and let this one die" thread.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-01-2010 10:35
my only thought is to constantly poll the vehicles rotation, then cancel that out to a world relative rot, perhaps applying your further rotation after that.... which seems VERY messy. you could cut down on the polling I suppose if you only checked when the vehicle was moving, or when it turned (although that'd lose changes due to ground angle) but that's only feasible with vehicles that can't rotate on the spot.
from the child I *THINK* it's llSetRot( (ZERO_ROTATION / llGetRootRotation()) * RegionRelativeRot );
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
|
01-01-2010 10:44
From: Rolig Loon Please, don't DO that! Once you ask a question, it's not yours any more. It belongs to the forum. There are other people who may have wanted to know the answer. When you remove a question, you deny them the chance to learn. It doesn't matter whether you figured it out all by yourself, or you were embarrassed to have thought of such a silly (to you) question. Your generous act of asking the question in the first place helps other people in ways you may not imagine. Well put.
|