I hope you can help me! :)
My question is based on two similar questions, I didn't know where to ask it so I opened a new one. I hope that's okay!
My goal is that my platform should move permanently in one direction and the player can still move freely on this platform and is moved along. According to another question this permanently movement is only possible with the "carrot and rabbit" method. (An Empty is hung in front of the platform and this platform uses the MoveTo Action).
Unfortunately I can only assign a character and no game object there.
I simply made the movement of the platform with a short script: "transform.position += Vector3.left * PlatformSpeed * Time.deltaTime;"
So the platform moves endlessly and with the actions I also managed to set the player as a child object (https://support.gamecreator.io/communities/1/topics/207-player-stay-with-a-moving-platform). But with my script the player still slides off the platform (even as a child of it). BUT when I move the platform with actions, the character stays on it and everything works, but the platform doesn't move indefinitely.
So there has to be a difference between moving by my script and moving by action.
Is there a way to move the platform with my script, but to let the player stay/move on it?
Does anyone have any ideas how I can fix this? :)
Thanks a lot!
Customer support service by UserEcho