Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Un/Lock character into moving chair on rails

I'm making a space station with rooms. These rooms can be accessed by sitting in a chair and the chair will move between them like on a rail.

I could make an array of positions and then check if the user can move to the next or previous rooms. But this gets a bit tricky when movement could potentially be in all directions. I also need to have the player sit in the chair and lock him there until destination is reached (the player is body-less for now so don't worry about things lining up and animations).

  1. how do i move a chair (BluePrint) along pre-determined nodes/path? Do I have to build a custom function for this?

  2. How do I lock the player character in said chair between travel points (sit/unsit)?

I could make an array with movement indstructions and a variable that keeps track of where the chair is. It just seems like a thing that would be built into the engine. Spline path or something? I don't have any idea about locking the player to the chair however...

Product Version: UE 4.7
more ▼

asked Jun 15 '15 at 10:32 AM in Blueprint Scripting

avatar image

18 4 8 8

avatar image Narghile Jun 15 '15 at 11:01 AM

Hi Mate

Just throwing something out there. You could have a pawn in the Chair set up and just posses it, make it Visible - If Needed. Or just take control of the camera on the chair, teleport you character to the destination and go back to Character when destination meet.

You could do multiple Splines going to where you want. Depending on the destination, choose a different spline.


avatar image Eirinn Jun 15 '15 at 12:47 PM

Sounds interesting, I'll get back to you once I've tried it. -cheers

avatar image Eirinn Jun 18 '15 at 05:53 PM

Splines worked wonderfully! Possessing the chair won't be viable when I add animations in the long run I think. I'd need some sort of blueprint that glues the character and the chair together momentarily (getting on/off).

avatar image MetricZero Aug 17 '17 at 05:25 AM

Did you ever find a solution?

avatar image Eirinn Aug 17 '17 at 07:15 AM

Only for moving along rails. Not for locking the player to the chair. Unfortunately.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question