PDA

View Full Version : Character Stuck



Froman
04-19-2010, 06:41 PM
My playeractor will not move from its original created position. I set up a short walk cycle animation and it does animate but the model stays in one position. I can rotate left and right but nothing more. Any help would be very appreciated.:confused:

KenMaffei
04-19-2010, 07:05 PM
Be sure to specify a speed value when you export the actor's walk cycle.

Alternatively, you can use the ForwardSpeed command in the actor's script file to change the speed of the walk cycle:

ForwardSpeed "my walk cycle" 150

You put the name of the exported walk cycle animation in quotes to make this work. So if your exported walk cycle was just called "walk", the command would be ForwardSpeed "walk" 150, etc.

The speed value is how fast the actor will move in units per second.

Froman
04-19-2010, 07:15 PM
Tried that and I'm still stuck in place. Any other ideas?

KenMaffei
04-19-2010, 07:22 PM
If you want, you can zip up your entire project directory and send it to me. Then we'll be able to sort it out. I will give you an e-mail address to send it to.

Froman
04-20-2010, 02:04 AM
Sounds good.

KenMaffei
04-20-2010, 07:06 PM
I've looked at your files and here's the problem:

1. You have exported an idle animation, but no "Walk Cycle" animation. The motion of the actor assumes there is a walk cycle.
2. I would just export the same idle animation choosing walk cycle and name it "Walk" or something else. Remember to add your speed value to the export. So you will have an idle animation and a walk cycle.
3. I was able to detect that your spaceship may not have been exported facing in the correct direction. The "forward" direction is defined as facing towards the negative Z-axis, so that it is looking at you from the Front viewport. If you don't do this, the W key will move the spaceship backwards instead of forwards. After you rotate it correctly you will need to re-export the actor file and the animations. You may also need to adjust your camera position in world_script.txt.

Froman
04-21-2010, 07:10 PM
thanks for the help, now my problem stems from the camera. its seems to be a bit offset from where i had placed it in the script. i tried removing the offset command from the cameralookat line and all i got was an error message. any help would be much appreciated.

KenMaffei
04-21-2010, 07:19 PM
If you want to send me the 3ds max file of the spaceship along with your latest world script I'll have a look. There is no need to send the whole Ignition project for this.