Terrain height -> loosing Players GO childs
Hey there, i'm trying to script a following pet but got a mistake i don't even get...
When i walk on y = 0, on the terrain ground than the pet is following really good, it's a Gameobject set as child from the Player Gameobject, when i walk down the terrain from a upper position the pet moves up.
Don't want to use Gravity in RB cause i got the same mistake with another object that has to work with kinematic.
Greets.
Ps: using a terrain from thrid party program.
Comment
Your answer
Follow this Question
Related Questions
gameobject position lerp 0 Answers
How would someone go about creating multiple triggers in one script 0 Answers
OnMouseDrag doesn't wokr. 0 Answers
Need help with this code? thanks. 2 Answers
Vector3.Lerp not cooperating with me 0 Answers