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"

Moving Platform Cannot Push Character Upwards

I am making a First Person puzzle platforming game. One of the main things you do is walk across platforms as they either move through space or are frozen in place. This system works in every direction that is not upwards. If a platform is falling (moving in the Z- direction) or moving in any direction in the XY plane (as shown)

Block Falling Right

...and I jump on it, I can ride it as it falls/moves, like so:

Riding Block Right

However, when I have a block that rises, like this:

Rising Platform

...and I try to ride it, this happens.

The Problem

As far as I can tell this is because the First Person Character Controller kinda fakes physics to get its desired effect, and is not really affected by physics. There are settings for push force and the like and I have tried setting to 0, negative values, positive values, all with no noticeable difference.

I have tried faking this, on every hit event manually translating the character upwards or inflicting a force with Launch Character, but none of the solutions have really worked.

Does anyone have any suggestions? I would really appreciate them.

Product Version: UE 4.10
Tags:
more ▼

asked Dec 20 '15 at 02:26 AM in Blueprint Scripting

avatar image

WaveParadigm
18 5 7 9

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hmm, i never tried these kind of things, but i'll try to help you out. Did you try locking the rotation/position on a specific plane ? (Z plane for example, up and down only)

You can do it by selecting the mesh from you BP and going to the physics. Disabling physics might help out aswell, but i'd first try to lock the rotation.

more ▼

answered Dec 20 '15 at 04:22 PM

avatar image

Taerarenai
6 2 6

avatar image WaveParadigm Dec 20 '15 at 06:48 PM

The Problem Again

I was hoping that would work, but unfortunately the act of "hitting" the character makes the piece lose all momentum and instantly fall. I need the piece to somehow push the player upwards without being pushed downwards by it. This is closer, but not quite working. Thank you for the response!

avatar image Taerarenai Dec 20 '15 at 06:52 PM

Hmmm, do you have the gravity turned off for the platform mesh ? If not, try turning it off, i'll get back to you if i find a solid solution to your problem ^^.

avatar image WaveParadigm Dec 20 '15 at 07:41 PM

Gravity is enabled, but unfortunately it needs to be. The pieces moving with physics is a big part of the game unfortunately.

avatar image formatt Apr 27 '16 at 10:44 AM

I've got a similar problem. Did you manage to find a way around this?

(comments are locked)
10|2000 characters needed characters left
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