We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ef0c5 commit 90343d4Copy full SHA for 90343d4
Assets/Scripts/u3d_scripts/World.cs
@@ -179,7 +179,10 @@ public void onEnterWorld(KBEngine.Entity entity)
179
Quaternion.Euler(new Vector3(entity.direction.y, entity.direction.z, entity.direction.x))) as UnityEngine.GameObject;
180
181
((UnityEngine.GameObject)entity.renderObj).name = entity.className + "_" + entity.id;
182
-
+
183
+ set_position(entity);
184
+ set_direction(entity);
185
186
object speed = entity.getDefinedPropterty("moveSpeed");
187
if(speed != null)
188
set_moveSpeed(entity, speed);
0 commit comments