I actualy want to make a 3D first person platform game with Unity.
I’m a beginner with Unity and C# coding .
I’ve got a litte problem with moving platforms, perhaps you could help me ?
I’ve got a square platform in the air that is rotating on the x axis.
The platform use mesh colider and my camera is on the standart firstpersonneplayer script (using rigid body with gravity).
The problem is when the square platform rotate, the firstpersonplayer don’t follow the platform movment and the player falls.
So how can i do to make the player follow the platform movment ?
Is this something to do with the child and parent object concept ? When the player walk on the rotating platform he became the child and the platform became parent and move according to it? How to code this in C# ?
Hope you can bring some helps to a very new comer
Perharps you know the link to good tutorial about this problem on youtube ?