Animating
by Taylor Wiebe · in Torque Game Engine · 01/24/2007 (3:54 pm) · 1 replies
I have animated an object, I can get it to animate in Torque ShowTool Pro but not in Torque, so how do I do this?
About the author
by Taylor Wiebe · in Torque Game Engine · 01/24/2007 (3:54 pm) · 1 replies
Employee Michael Perry
ZombieShortbus
datablock TSShapeConstructor(animObj_dts) { baseShape = "~/data/shapes/object.dts"; sequence0 = "~/data/shapes/Animations/animObj/animationName.dsq [b]objAnim[/b]"; }; datablock StaticShapeData(ObjectDB) { category = "Misc"; shapeFile = "~/data/shapes/object.dts"; }; new StaticShape(myObject) { canSaveDynamicFields = "1"; position = "110.656 -219.889 125.094"; rotation = "1 0 0 0"; scale = "1 1 1"; nameTag = "OBJECT"; dataBlock = "ObjectDB"; collideable = "1"; static = "0"; rotate = "0"; rotate2 = "0"; }; myObject.playThread(0, "objAnim");