Commit 9fa623ac by Philipp Adolf

Move fire up a bit when attached to player

parent ed2d0627
...@@ -39,7 +39,7 @@ public class FireScript : MonoBehaviour ...@@ -39,7 +39,7 @@ public class FireScript : MonoBehaviour
{ {
Invoke("stopBurning", burningTime); Invoke("stopBurning", burningTime);
parentHealth = other.GetComponent<PlayerHealth>(); parentHealth = other.GetComponent<PlayerHealth>();
transform.position = other.transform.position; //hier schon position setzen transform.position = other.transform.position + new Vector3(0f, 0.2f, 0f); //hier schon position setzen
transform.parent = other.transform; transform.parent = other.transform;
transform.localScale = startScale; transform.localScale = startScale;
canRelay = false; canRelay = false;
......
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