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"

How do I make a swimming character in Third Person?

So here is the issue.

I make a physics volume and we tit to ware under volume I then check physics on contact. I also adjust flow control to 22 to get the desired slow fall effect.

Now when my TPP jumps into the water he can move forward back left right but not up and slowly falls down.

I attempted to remedy this by using a zoom-able third person script and creating a new camera spot and then setting character pitch and yaw to camera position when you have zoomed in all the way.

now it works as expected no problems out of the water however i still cant get the character to move up in any shape way or form in. am I possibly not setting some type of physics value?

Product Version: Not Selected
more ▼

asked May 12 '14 at 12:24 PM in Blueprint Scripting

avatar image

69 2 5 78

avatar image zuch0698o May 22 '14 at 02:12 PM

so i understand the unreal team does not believe there is an issue with this but i assure you there is as Tessa's tutorial does not work for us any other person know a possible work around. the most recent thing i tried was adding a force move commander for moving character up and down but its very sloppy and requires constant tick checks. a cleaner way to do this would be nice unreal team.

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

4 answers: sort voted first

Hello all,

I am currently working on creating a tutorial for the ThirdPerson Swimmable Water Tutorial which will provide step-by-step directions to get your volume working with some neat post-process effects as well. This tutorial will be coming soon, but no specific time frame can be provided at this time. I am working diligently to get this to the community because it seems to be a very common question for users.

Also I will be using a translucent water material in the Swimmable Water Tutorial, which I will also be posting a bit longer of a tutorial for in the near future. This might take a bit longer to get completed since the directions are a bit more involved and lengthy. In the meantime, thanks for all the great posts and let us know if you have any further questions! Look for the tutorial on the Wiki in the near future!

Andrew Hurley

more ▼

answered Oct 24 '14 at 07:24 PM

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

SOLUTION! I feel dumb having overlooked this... but make sure to connect controller pitch and i set buoyancy to .5 so the character gradually floats up now to work on an animation!alt text

more ▼

answered May 23 '14 at 04:53 AM

avatar image

69 2 5 78

avatar image Stunt Thumper May 24 '14 at 09:25 PM

Where do you set buoyancy?

avatar image zuch0698o May 24 '14 at 11:43 PM

It is set in the character blueprint and after some tweaking what works best for me is a value of 1 there and fluid friction of 5 in the water volume

avatar image TobiasRusjan Oct 24 '14 at 03:16 PM

Hi there.

I'm having the same problem. I set everything as you mentioned but it continues without moving up and down. Then I research some more and found that it does work when you set the Default Land Movement to Flying. The problem with this is that you cannot go back to Walking (when you set that during the game, it just do nothing).

Any idea on this? Is there anything you need to set to let the Character Movement know the player should be swimming?

Thank you.

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


Community member Tesla made a video tutorial on this for First Person which you could adapt and use for Third I'm sure. I believe he does what you are after.

Take a look here: https://www.youtube.com/watch?v=LtyXjSb1P-4


more ▼

answered May 12 '14 at 12:45 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image zuch0698o May 13 '14 at 11:13 AM

thanks for the quick response . my setup is identical to his minus the fact im thirdperson. first it only moves forward back left and right. and once it touches the bottom or side, the character no longer accepts inputs. i think i may have to add an if in water> the space add upward force. any further advice?

avatar image zuch0698o May 21 '14 at 04:37 AM

so i found a buoyancy setting in the character blueprint i had never considered. it helps tremendoulsy but i need to test further for sure

avatar image AlphaHemi May 21 '14 at 09:54 PM

Hello Zuch0698o, I am doing the same thing, followed Tesla's tutorial but like you I am in 3rd person, at first I was unable to move at all, I changed the buoyancy to 1 and was able to move back and forward side to side, however can not swim up...have you managed to find a solution to this?

avatar image zuch0698o May 21 '14 at 10:57 PM

basically my workaround that im still working out the bugs is using the add force variable. it pushes a body in the direction we need but is highly variable on how much. problem i still get is once i touch the ground underwater my character still stops moving and freezes in place

avatar image zuch0698o May 21 '14 at 11:00 PM

and alpha i tried using the zoom able third person script to try and set the camera angles and get around the control issue... doesn't fix our swimming issues but it give a really cool element to your game by having variable camera setups and for tpp guys like me and you we can still satisfy the fps cravers

avatar image AlphaHemi May 22 '14 at 01:23 AM

I did want to add a 1st person view to my project but could not get it to work with a single toggle. any chance you would be willing to post a pic of your setup in BP or C++ whichever it needs to be, although I am better at understanding BP.

avatar image zuch0698o May 22 '14 at 01:36 AM

ill do you one better here is the tutorial that set me up. you will have to change inputs if you want it to be a button but should get you there


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

Awesome I connected the pitch and it worked great, now I was curious if you knew a way to make the character use a swimming animation when in the water?

more ▼

answered May 25 '14 at 11:13 PM

avatar image

76 12 20 25

avatar image zuch0698o May 27 '14 at 11:09 PM

to be honest i havent had a chance to sit down and make my animation yet for swimming :(. but i would be more then willing to write how it would work if you have an animation made up shoot me a pm if you'd like to collaborate, or if you wanna wait im going to tackle the animation this weekend

(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