Creating enemy issues
by Lino · in Torque X Platformer Kit · 03/14/2010 (3:51 pm) · 0 replies
Hello everyone,
I tried to create an enemy and followed all the guidelines from the tutorial. When I try to run the level it crashes. If i try to run it in visual it highlights the code
return Vector2.Distance(_actor.Position, (SceneObject.SceneGraph.Camera as T2DSceneCamera).Position);
as the problem source.
has anyone else had this issue creating an enemy that spawns as the tutorial shows?
Any help would be great.
I tried to create an enemy and followed all the guidelines from the tutorial. When I try to run the level it crashes. If i try to run it in visual it highlights the code
return Vector2.Distance(_actor.Position, (SceneObject.SceneGraph.Camera as T2DSceneCamera).Position);
as the problem source.
has anyone else had this issue creating an enemy that spawns as the tutorial shows?
Any help would be great.
About the author