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"

launch character physics water volume

In my 2.5d game, I've created a 'Physics volume' with 'water volume' turned on and buoyancy set to 2.

To make the character swim, I change the controls to 'Set Velocity' to get the character to swim in all directions. Works well, and when I stop moving, the character slowly raises to the top of the water on their own.

Unfortunately, I wanted dash to work as well, and if you use 'Launch Character' in the volume, it seems to turn off the volume and the character drops like a Tetris block... Not only this but I don't seem to be able to reactivate the water volume unless I exit it, or collide with something like a platform within the volume, and then I can swim again.

Is this a bug? expected? is there a workaround? I tried add force, and add impulse as an alternative to 'launch' but neither seem to do anything. Any advice is appreciated.

(PS. Documentation on 'Launch Character' would be nice. I can't find any, and right click has that option greyed out. If any Devs are reading :D )

Product Version: UE 4.20
Tags:
more ▼

asked Aug 08 '18 at 06:42 AM in Blueprint Scripting

avatar image

cowsmanaut
1 1

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

1 answer: sort voted first

Found a workaround if anyone else needs it. I just change my swimming velocity from 300 to 1000 with a short delay before setting it back again. This gives the illusion of a dash while in swimming mode.

more ▼

answered Aug 09 '18 at 08:12 PM

avatar image

cowsmanaut
1 1

(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