Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRotLookAt not working properly in phys mode?

Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
06-22-2009 18:25
It seems that every time i set an object to phys and try to use llrotlookat it borks. Anyonoe else havin this prob? And if so how can it be solved?
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
06-22-2009 19:27
What does it do wrong? How big is it? What values do you set the parameters to?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-22-2009 22:18
if by borks you mean gets a bit sloppy (overshooting, undercorrecting) then it's a factor of what is physically happening vs what RotLookAt is trying to do...essentiall the physics engine may be adding to or working against the force of the function call and maybe overpowing the force or the dampening.

you can try setting those values higher, but you'll want to beware of reactivity if the object is in contact with something else (and there's a discontinutiy in force and damping where force overpowers damping of a similar magnitude)
_____________________
|
| . "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...
| -
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
Ok....
06-23-2009 10:01
The boject is not in contact with anything it is floating and even when i change the the constants to counteract gravity it still jerks around like a crazy thing! O-o
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-23-2009 18:25
without knowing more we can't guess more...
_____________________
|
| . "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...
| -