Announcement

Collapse
No announcement yet.

Tiltable Floor/Plane by the player

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tiltable Floor/Plane by the player

    Hello,

    I have a simple idea of a game where instead of moving the ball, I move the platform under.
    It would not "move" in the strict meaning, but tilt.
    example : clicking on right arrow on keyboard means the platform/floor tilt to the right.
    I thought using a plane as floor would be eaiser, maybe I'm wrong.

    My problem is connecting my plane to the player controls and making it tilt.

    If you have any ideas, I'm open !

    Have a good day

    #2
    OK, why is it a problem exactly?
    Make a blueprint, add a box component, in the event graph call in the key press events to define which way it goes when pressing what.

    Remember or learn your trigonometry to do this. you will be working with rotations and angles.
    Your sine/cosine tan/atan are about to become very important even though you thought you'd never in your life use them :P

    Comment


      #3
      Thanks for the respond, I'll update the post when it will start to look like something.
      Yeah I like trigonometry but I guess it's time I use it in a useful way x)

      Comment

      Working...
      X