Announcement

Collapse
No announcement yet.

Trying to disable a players movement whilst allowing camera movement

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

    Trying to disable a players movement whilst allowing camera movement

    Hi

    A student of mine is trying to have it so that a when the player stands on a platform (that will then move) that the player cannot move whilst on this platform as it slides around the level but still be able to have camera movement. Can anyone help with this?

    #2
    I made a little video for a possible implementation:

    https://vid.me/68eB

    Overview MovingPlatform:


    Overview MovingPlatformStop:


    It just uses these blueprint nodes:
    - Get player character
    - Get character movement component
    - Disable movement
    - Attach to actor
    - Detach actor
    - Set movement mode (coming from character movement component), which is set to the state "Walking"

    I divided it up in 2 different parts, one enter volume (the platform itself) and another actor with box collision (exit point). You can place the exit point at the end of the location. I just used for demonstration purposes the projectile component. Your student should use a different component like a spline or create other means of platform movement. Hope I could be of help .



    Take care
    Last edited by DarkGodsLair; 03-15-2017, 08:05 PM.
    Main channel:
    https://www.youtube.com/channel/UCGC...o9s3YcA/videos

    Comment


      #3
      Thank you, that works perfectly!

      Comment


        #4
        Originally posted by benth3bear View Post
        Thank you, that works perfectly!
        Glad to be of help. Have fun .
        Main channel:
        https://www.youtube.com/channel/UCGC...o9s3YcA/videos

        Comment

        Working...
        X