findSequence question
by Aaron Murray · in Torque Game Engine · 11/11/2001 (4:44 pm) · 1 replies
Hi, here's the problem.. I'm attempting to re-create a player-like class from scratch, and I'm working on the animation part of it right now. But I'm having trouble, because whenever I call shape->findSequence("run") in the datablock's scope, it returns -1. Stepping through, it seems it can't find "run" in its name list. Where would I go about making findSequence find my run animation? I copied the player directory in the data/shapes folder and renamed it. The player.cs found in the same directory as the shape file, I'm assuming that that is where you link animation filenames to names, and I've done so, but I'm still getting the problem. Any help would be appreciated, thanks!
About the author
Torque Owner Aaron Murray