OK, I’m a total noob…
Wondering what options are available to set up a scripted scene. Let’s say I want a character (in a predefined fashion) to walk around the room, waive his arms in a few areas, and sit on a couch. Assuming I have the models and animations available for this, where should I start?
I know very little about Maya/Max/Blender so perhaps scripted scenes are exported from there?
Thanks!
I think you have to do the scripting in Unity.
just import your room scene and ur character in .fbx, and lets scriptting.
do a script like this and lint it to your character:
function Update()
{
if (Input.GetKey(“w”))
transform.Translate(0,0, 0.1);
}
yeah, but I want to play out a scripted scene (i.e. a cut scene).
should simply import your fbx asset first,then edit your animation sequence in the inspector.seperate your animation into several groups by setting the start and end frame…
then add a script to control it ,for example, you want to play a animation named “run”,simply add""animation.CrossFade(“run”);"and if you wanna move your player,you can add a Transform function to drive it…
thinking of how I could do this without scripting