playMaker

Author Topic: Moving Platform  (Read 1440 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Moving Platform
« on: November 29, 2017, 12:29:55 PM »
Hi!

I want to set up the moving platform with raycast, so it change direction when it hit an obstacle, instead of using iTween, DoTween, move towards, etc. Then I use Set Velocity which requires Rigidbody. The problem is, when I parent the player to a moving platform with Rigidbody, the player slides off the platform. I just wonder, is it a way to do this, so the player doesn't slide off?

The reason I want to do this, is because I just want to place a moving platform in the scene without changing the value of destination.  :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no