University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Remove Gazing | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Remove Gazing
October 13, 2015
8:19 am
Avatar
Germany
Member
Members
Forum Posts: 24
Member Since:
June 22, 2015
sp_UserOfflineSmall Offline

Hello,

I have an avatar gaze at some pawn target, which works perfectly. However, at some later point I want to stop gazing at any target and just return to having simple saccades.

I found out that I can assign a name to the gazing, but how can I remove it? Simply moving the gaze target in front of the avatar will not really work, because the avatar is moving around.

So far I use:

...->execBML("Rachel_0","'<gaze sbm:joint-range=\"EYES NECK CHEST\" sbm:joint-speed=\"1600\" target=\"userGazeTarget_0\" sbm:handle=\"mygaze\"/>'");

and later on:

...->execBML("Rachel_0","'<saccade mode=\"think\"/>'");

Is there any method I can call before the saccade call to remove "mygaze"?

 

Thank you in advance for your help.

October 13, 2015
5:06 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

You've attached a 'handle' to your gaze called 'mygaze', so you can use that information to fade out the gaze:

 

bml.execBML('*', '<gaze sbm:fade-out="1" sbm:handle="mygaze"/')

where sbm:fade-out tells you how many seconds it will be until the gaze is removed.

 

Ari

October 20, 2015
10:13 am
Avatar
Germany
Member
Members
Forum Posts: 24
Member Since:
June 22, 2015
sp_UserOfflineSmall Offline

Perfect, that solved it. Thank you.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: Jamesnuh, gotselyuk1987mon, koenig62ramos, krygerhagen69, coxgeorge3, doyle68bekker, ludvigsen62abbott, shortstext78, cormierhopper5
66 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 67

Members: 100502

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 460

Posts: 2403