|
Howdy
We are developing a script that at the moment allows us to import an objects trajectory from xyz and frame no. contained within a txt file.
The script animates a nominated object (e.g. a dummy) along this path over the frames specified in the source data.
The script allows for the importation of multiple objects from the one text file.
What we are aiming to do next is to append the script with the additional functionality to make the animated object a biped with a walk cycle.
Each object moves at different speeds. Some stationary.
We would like to develop a direct relationship between the walk cycle speed and the bipeds ground speed (defined by the positional data over time).. i.e. as the biped slows to a stop so does the walk cycle. Maybe the walkcycle could be scaled by a factor determined by the speed.
We would obviously like to avoid foot slip and stationary agents who still appear to be walking.
I have looked at a tutorial that cover crowd delegates and using motion flow to get a biped to follow the delegate whilst loading various motion files.
We don’t need the delegates (behaviours) as our paths are set, but using motion flow seems to be something I should try.
How about footstep mode?
Any other ideas?
I figured before i posted back in the scripting area i would define what it is we are trying to script.
Thanks a bunch.
|
|
|