Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is there a way to force an avatar to turn and face another avatar?

October Brotherhood
Registered User
Join date: 24 Jun 2005
Posts: 70
11-20-2005 22:00
If i have the key of an avatar near me, can i force my avatar to turn and face them?
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-20-2005 23:14
From: October Brotherhood
If i have the key of an avatar near me, can i force my avatar to turn and face them?


if you're in a vehicle or other ridable object of some kind the answer is yes. if not.... I dunno, you might be able to modify one of those personal teleporter scripts so that it will just teleport you in the same spot but facing the right way (I believe they use the sit_target command. not too sure).
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
11-21-2005 05:25
I think that's what llLookAt() is for.
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
11-21-2005 05:29
Unless the avatar is sitting, there is no current way to rotate an avatar... no matter how much you try with the rot on llPushObject :( .
_____________________
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
11-21-2005 05:48
Oh, just a thought, but if you want to rotate an avatar all you need to do is make it move a tiny amount in the direction you want to face. I'm not certain how the pounce script works (almost every fur has this, lets them jump on top of other avatars if they allow you to), but it moves you towards them so that at least you're facing the right direction when the animation begins.
So if there's no function for simply moving an avatar, rez an object, get its key then move towards that instead.
Manuel Paz
Registered User
Join date: 20 Oct 2005
Posts: 10
12-06-2005 11:26
Why would you want to _force_ anyone to do something?
Sierra Aleixandre
Registered User
Join date: 2 Oct 2005
Posts: 14
12-06-2005 11:28
if u press tab ur avie will face the avie ur talkin to
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
12-06-2005 16:15
From: Manuel Paz
Why would you want to _force_ anyone to do something?

Well, when doing something like av2av animation - the animation attachments would need to line your avatar up properly so that you're not getting an arm impaling your abdomin. Right now we have no way of rotating the avatar, just moving.
==Chris