University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

gesture while locomotion active | 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
gesture while locomotion active
September 11, 2014
6:28 am
Avatar
Member
Members
Forum Posts: 8
Member Since:
August 3, 2014
sp_UserOfflineSmall Offline

Hi,

I've noticed that if I trigger a gesture while the character is still trying to reach a location, the skeleton is completely scrambled. E.g. 

<locomotion target="0 0 0"/>

#wait 2 sec

<gesture name="ChrBrad@Idle01_Guitar01"/>

I've tried to stop the locomotion with bml.interruptCharacter(...), but this seems to have no effect on locomotion commands.

Is there a way to solve this issues without the need of a location-reached call-back?

September 11, 2014
11:50 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Just tried it out; yup, it's pretty messed up...

The locomotion is done by running a set of blends (combinations of motions, about 20 total). The controller that manifests the gesture runs after the locomotion controller, and overwrites it. There is some code that checks to see if the character is locomoting, and if so, runs the gesture on top of (replaces) the existing motion for the upper body. It looks like that process is not working properly, and giving strange results. I'll need to look at this.

Ari

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: mcclurelloyd91, Andreytielo, kvistaagesen6, shorebagger6, rubingriffith1, campbennedsen38, carrollpratt5, fosskrog0, magnussonmagnusson3, zhuwarner26, dreyer26guerrero, miscreantunderc69, BernardFaulkner25
72 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: 69

Members: 122101

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495