University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Smartbody Unity3d pointing to pawns | 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
Smartbody Unity3d pointing to pawns
September 6, 2016
7:02 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
June 12, 2014
sp_UserOfflineSmall Offline

Hi.

I am using a Smartbody in a Unity3d project. 

I took the smartbody package from the VirtualHumanToolkit project and I integrated it into my scene. I succeeded to apply speech behaviors, but I still need to be able to point to gameobjects. I read a lot of documentations and forum posts on how to apply pointing to gameobjects found in the environment, but I didn't succeed yet.

I am trying to point to the pawns already found in the simple scene found (like Pawn_Neck) using this BML:

sbm.PythonCommand(string.Format(@"bml.execBML('{0}', '<sbm:reach sbm:action=""point-at"" target=""Pawn_Neck"" sbm:reach-duration=""3""/>')", "Brad"));

but when I run the scenario, "Brad" is just kneeling down and putting his hands together and not pointing to the mentioned pawn, and I am getting this comment in the Log: "sbm: Handle : Bradleft_gc, controller not found.".

Hope you can support me.

Thank you.

September 14, 2016
6:43 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
June 12, 2014
sp_UserOfflineSmall Offline

Hi. I am still waiting for any remarks that could help me in solving the requested task.

I saw on one of the posts in this forum a video showing Smartbody instances pointing at a pawn where the user is moving and all agents keep on pointing at it, but I think it is not built on Unity3d.

Please, did you apply before a Unity3d scene to realize on a Smartbody pointing at an object found in the environment?

Regards.

September 16, 2016
9:41 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

You'd have to make sure that the reaching/grabbing capability works in the vhtoolkit; I'm not sure if it does. The pointing functionality leverages the reaching/grabbing while using a different hand configuration.

Ari