I've got the knight demo almost completely replicated in Go, but for some reason when I call setupModelAnimStage, the knight model gets removed from the scene. The knight's node, resource, and animation resources all have non-zero numbers, which I take to mean they are still part of the scene. The knight just doesn't seem to render, even with debug for wireframe on.
Here in c++
Code:
h3dSetupModelAnimStage( _knight, 0, knightAnim1Res, 0, "", false );
h3dSetupModelAnimStage( _knight, 1, knightAnim2Res, 0, "", false );
here in Go
Code:
horde3d.SetupModelAnimStage(app.knight, 0, knightAnim1Res, 0, "", false)
horde3d.SetupModelAnimStage(app.knight, 1, knightAnim2Res, 0, "", false)
If I remove this line, then the knight (and the attached particle effect) shows up fine, just not animated.
Any ideas?