How to get fps out of water
So, I'm working on a project and I need my character to be able to swim. I wrote a script (see below) that allows the player to go lower (dive) when 'e' is pressed and rise when 'q' is pressed. On...
View ArticleVarious Script Problems.
I can not seem to get a single freaking script to work! I am so angry. I want sprint, crouch, under water effects, and swimming. I copied peoples on youtube exactly because I know nothing about...
View ArticleTrouble with swimming in Unity
Hey there. I am working on an FPS with a swimming option. I have it so that I can jump on the surface of the water, then hit a key to dive. After you go underwater everything turns blue, gravity is...
View ArticleHow to make character swim
Hi, I had tried figuring out to do this a while back, but it looks like there hasn't been much done for this, but how do I make my FPS Controller swim? As in, W moves forward, A to the left, etc? It...
View ArticleAnimation not Playing
Hello! I have a pair of animated hands. When I'm touching water than the swimming animation plays normaly but when I want to swim faster (I have an other aimation) the animation is not playing! Hereis...
View ArticleSwimming in Unity3D survival game
If you've seen the swimming in a game called Unturned, the character goes to a swimming state the second he hits the water. How is this possible? I've tried attaching a box collider to the water,...
View ArticleHow can I slow Gravity
I would like to slow the gravity on the Character Controller. How would I go about doing this? Would I need to have a rigidbody or can it be done through the CC?
View ArticleWhat can i use an alternative to constantForce for swimming basicly
I have a swimming script (it is really basic) but i cant use constantForce which added my script for swimming. Because of some reasons i couldn't add rigid body to my FPCharacter. Now i want to rise my...
View ArticleSwimming in a sinusoidal fashion, positive cycle out of water and negative...
Hello, What the script is trying to accomplish isn't your average swimming. I'm intending to make it like dolphins, as in how they crest above the water and back in. Having control of direction with...
View ArticleSwimmable water script needed
BEFORE YOU ANSWER PLEASE READ THE FOLLOWING I don't want to do any coding so please just give the code to me. The code should either detect if a charter is in a box which defines water and makes it...
View Articlehow to make a swimable water ??
i want to swim in the water and shot from it in the first person mode
View ArticleMake Character swim
Hi! I am making a water level for my game, and i have been trying to make my character swim because when he enter the pool he go to to it's ground. So i have read a lot about swimming but i couldn't...
View ArticleModifing Standard Assets FPC to swim
I have found many similar questions to this one, most of them have no answers or just theoretical guidelines. I used the First Person Controller (Using Character Controller ***not*** the rigid body...
View ArticleDouble Jump Help
Hello Unity Community, I Am A Sort - Of Newb At Unity, And I Need Scripting Help. I Need That When The Y Position Of My Camera Is Less Than The Position Of An Induvidual Waterplane, My Character Can...
View Articledoes anyone have a swimming and watershader script i can use..... or any tips...
i am an absolute beginner and i would appreciate any help in creating a script...... or if anyone has a script i would appreciate that..... cheers
View ArticleUnity 5.5 Swimming Motion?
Hello all! I'm a student, currently working on a Final Year Project and am incredibly new to Unity. I'm trying to do an underwater scene and I have the fog, particles, bubbles etc figured out, but I...
View ArticleHow do I make my FPS Character swim when in contact with water?
I am having a problem trying to make my FPS Controller swim when in contact with WaterProDaytime. I am using the standard Unity FPS controller. Also when I reach my river, I want my FPS to slow down,...
View ArticleUnity 5, script for a character to be able to swim in water
Greetings! I'm currently a student and i have to create a mini game where my character must swim to certain points, but the thing is i don't know first thing about programming. I only need to make the...
View ArticleAny Ideas on making a segmented giant worm?
---------- I am making a 2d platformer involving a giant worm, and I am stumped on coming up with ways to make it move naturally. What I need is for it swim in a body of water (a trigger zone with...
View Articlerigidbody.AddForce doesn´t work in c#
Hi, I´m trying to make a FPSCharacter swimm in water at a specific height level. I´m using rigidbody.AddForce to add a force that pushes the rigidbody up. However, AddForce isn´t working. I saw...
View ArticleSubnautica Type swimming
So I want to make a swimming system kinda like the one in subnautica. For example where I look I want my character to swim to when I press W and when I'm not pressing anything I want to float in place....
View ArticleUnderwater Swimming
Hi, I am currently using the standard Unity first person controller and I am trying to simulate underwater swimming. I understand that I need to set the first person controller movement to the cameras...
View ArticleSwimming Controls
Hello! Could someone help me put together swimming for my game? My game is a 3D platformer. I want it to be similar to games like Spyro and Banjo Kazooie. I want to be able to rotate the character and...
View ArticleSimple 3d controls
I am pretty new to game design and coding. And have been watching tutorial after tutorial on movement controls but I still can't figure out how to write a simple C# script 3rd person 3D controls. I was...
View ArticleHow to automatically change Player function after picking up certain item?
Hello! I'm trying to to add a function where the Player is able to swim when they pick up an item called "snorkel" and is knocked back when not. I already have the Player Inventory script where it...
View ArticleRigidBody diving into water
Hey there, i'm working on swimming, so far everything is ok. my problem is when i jump into water, the character goes right to the bottom "ground" surface. tried to set rigidbody velocity.y to zero...
View ArticleIf statement within FixedUpdate?
I am working with the XR Interaction Toolkit and using the Oculus Plugin. I have a Swimming script using the controller velocity to swim through the "water" but right now, I can only get it to work in...
View Article2D swimming
Hi! I am working on a 2d platformer game and I have an underwater level. Currently, my movement is not really based on acceleration, rather it is based on moving my position. This works but it does not...
View ArticleHow does my character do damage, take damage and wield a weapon?
So, I've started off with an appropriate character made. Besides color. @godgh, I think I have a similar issue like yours, but I need my character to wield a weapon, do damage, and take damage. I also...
View ArticleRayman / DK Kong swimming logic
Hello everyone ! I'm making a 2D metroidvania game in which one of the level is a water level (we can also find this type of level in DK Kong Tropical freeze), and i want to implement an advanced...
View Article