Hi,
So I’ve combined the smartfoxserver script with the charactergenerator so far and it’s working fine. Just that the localplayer and remoteplayer prefab don’t have an animation directly tied to them because the model gets generated, loaded in later and then attached to the game object.
At that point the Gameobject Localplayer Remoteplayer have a ‘child’ which is the model which has an Animation property.
The script used to trigger the animations by animation.crossfade(‘’) but since the model is under the gameobject (a layer deeper) i’m wondering how i can reach it.
something like male.animation.crossfade(‘’); hasn’t been succesfull thusfar.
So i’m really just wondering how to tell a script it should look for the child of the object and then for the animation property, any ideas?!
Greetings,
Gerard