|
Webster Morris
Registered User
Join date: 14 Jan 2006
Posts: 23
|
03-09-2006 03:49
Is there a way to rotate an object around an axis without the object wobbling?
I am using llTargetOmega and I have so many parameter combinations that is all I dream about anymore yet nothings seems to stop the object from wobbling while rotating.
Any help you can offer would be greatly appreciated. Thanks in advance.
Webster
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-09-2006 05:13
Wobbling how? If you set the parameters to rotate around a single axis e.g. <0,0,1> it should rotate only around that axis, and does in my opinion. If your object isn't aligned to the world axis something like <0,0,1> * llGetRot() works (you might need to change the position of the 1 in the vector) and I use it entirely smoothly. If you mean smoothly in the sense of constant rotational speed, that's much harder. llTargetOmega is a client side operation, so your client stops to think about it. Anything that forces it to redraw (someone sitting on it, someone starting typing on it, hovertext firing etc. etc.) will send it back to it's start position where it will start rotatating again. There isn't a 100% reliable way to stop that which I've discovered yet, but making it physical, making it freeze in place and then using llApplyRotationalImpulse and llGetOmega() works, although it tends in the applications I've built to give slightly jerky motions, but it copes with the typing issue, which for a spinning seat was a better bet than llTargetOmega().
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
03-09-2006 08:39
If you're talking about a physical object, maybe it wobbles because it's not rotationally symmetric?
|