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


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
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


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

pawn->setPosition(SrVec(0.0, 0.0, 0.0));
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\"/>");


What did I do wrong?


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

November 19, 2015
8:44 pm
Forum Posts: 985
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:
116 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 53

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 72

Members: 2025

Moderators: 1

Admins: 3

Forum Stats:

Groups: 1

Forums: 5

Topics: 525

Posts: 2471

Moderators: smbyadmin: 0