Commit 579cf50c authored by ATREVI Dieudonne's avatar ATREVI Dieudonne
Browse files

-

parent 6cff071a
...@@ -89,7 +89,6 @@ public class CamMvt : MonoBehaviour ...@@ -89,7 +89,6 @@ public class CamMvt : MonoBehaviour
// Use this for initialization // Use this for initialization
void Start() void Start()
{ {
...@@ -146,6 +145,7 @@ public class CamMvt : MonoBehaviour ...@@ -146,6 +145,7 @@ public class CamMvt : MonoBehaviour
follow_Id = list.Length - 1; follow_Id = list.Length - 1;
_previous_follow_Id = follow_Id; _previous_follow_Id = follow_Id;
follow_Agent = list[follow_Id]; follow_Agent = list[follow_Id];
//initialize the positions //initialize the positions
follow_LastPosition = follow_Agent.transform.position; follow_LastPosition = follow_Agent.transform.position;
agent_head_transform = get_transform_reference_of_head(follow_Agent); agent_head_transform = get_transform_reference_of_head(follow_Agent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment