x

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"

Jumping inside a moving (train)

Hello everyone!

My question is how a player jump inside a moving object ? (like a train for example) wen i use de jump is go out de movement object, i want to try to snap the player but i can't how to make this. Thanks !

R5GAMER.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 23 '16 at 03:19 PM in Blueprint Scripting

avatar image

R5GAMER
10 1 4 8

avatar image NikDouglas Jul 22 '17 at 07:18 AM

To achieve the result shown on the video (where it seems to be an isolated section of the game), you could always keep the train stationary and move the background instead.

avatar image porckchop Nov 30 '18 at 11:11 PM

First of how fast is the train traveling? let's say its going 45 mph in order to sync with the opening (Door) your trying to jump into you would have to do some location Prediction. Honestly like [mikepurvis][1] said [1]: https://answers.unrealengine.com/users/214/mikepurvis.html Matinee would be the way to go youll be saving a ton of headaches, RockStar did it like that.

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

3 answers: sort voted first

Not exactly sure what you are asking, but I think you are asking about forcing a movement.

There are a few ways to do it, depending on how good you want it to look. If it's a thematic sequence, like grabbing a handhold and swinging in an animation Matinee is probably best. You would put a trigger volume on the train, and when the character overlaps with it start the Matinee, have it animate the actions getting on to the train and then return player control when it's finished.

That is probably the best way to do it, but time consuming. If you just want a quick fix, put a trigger volume on the train, on overlap with the character, teleport the character to a spot on the train. In the overlap event, you need to have added a marker to a point on the train to use as the location to teleport to. This obviously won't look that great. You could probably interpolate the location of the player to the point, but with that much effort it's better to use a matinee.

A 3rd way would be to make a root motion animation. That would also look good. Root Motion can be tricky to hook up so expect that it would be time consuming to get it to work correctly.

more ▼

answered Jul 23 '16 at 04:51 PM

avatar image

mikepurvis
2.5k 102 67 261

avatar image R5GAMER Jul 24 '16 at 12:06 AM

No, i explain i use Spline Component and the train follow this Spline to point A to B and the player battle in this train look in example in Metal Gear Rising: Revengeance [25:33 to 25:50 Jump] [28:50 to 29:13 Battle] : https://www.youtube.com/watch?v=to8JhuIcqIY

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

Nobody can help me ? Is not possible in unreal ?

more ▼

answered Jul 25 '16 at 01:37 AM

avatar image

R5GAMER
10 1 4 8

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

.............?

more ▼

answered Jul 26 '16 at 02:54 AM

avatar image

R5GAMER
10 1 4 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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