Getting the player to not just stick to moving platforms
I have an actor that when he jumps onto a moving platform he is constrained to that moving platform's X coordinate. This let's him move with the platform while being stationary.
Now the problem is when I do this he is stuck on a fixed point and cannot move freely on the platform.
How would I constrain an actor's x position to a minimum and maximum range?
For example the min would be movingplatformX-66 and max would be movingplatformX+66. I'd want him to be able to move around the platform as the platform is moving instead of just sticking and locking in place. Does anyone know? Thanks!
Now the problem is when I do this he is stuck on a fixed point and cannot move freely on the platform.
How would I constrain an actor's x position to a minimum and maximum range?
For example the min would be movingplatformX-66 and max would be movingplatformX+66. I'd want him to be able to move around the platform as the platform is moving instead of just sticking and locking in place. Does anyone know? Thanks!
Comments