University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

The way the agent looks at the pawn is strange | 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
The way the agent looks at the pawn is strange
November 19, 2015
5:07 am
Avatar
Member
Members
Forum Posts: 28
Member Since:
November 5, 2015
sp_UserOfflineSmall Offline

I got a pawn object located at 0, 0, 0.

But here is the appearence of the agent while he grabs the object with the following bml command

[code]

pawn = scene->createPawn("touchPawn");

pawn->setPosition(SrVec(0.0, 0.0, 0.0));
 
character->createStandardControllers();
    
scene->getBmlProcessor()->execBML("mycharacter", "<sbm:reach sbm:action=\"touch\" target=\"touchPawn\" sbm:reach-finish=\"true\"/>");
    scene->getBmlProcessor()->execBML("mycharacter", "<gaze target=\"touchPawn\" sbm:joint-range=\"EYES NECK\"/>");

[/code]

http://tinypic.com/view.php?pic=2euipw3&s=9

What did I do wrong?

Update1:

Here I found the guess mapping maps the neck to spine4 with 3 channels, is this correct?

November 19, 2015
8:44 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Keep in mind that the guess mapping might not get it all right. It's best to explicitly create the joint mapping yourself. spine4, spine5 and skullbase will all be used for gazing with the neck.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: Jamesnuh, gotselyuk1987mon, koenig62ramos, krygerhagen69, coxgeorge3, doyle68bekker, ludvigsen62abbott, shortstext78, cormierhopper5
67 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