playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to simulate the movement in water
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to simulate the movement in water (Read 3205 times)
doge biscuit
Playmaker Newbie
Posts: 11
How to simulate the movement in water
«
on:
July 06, 2015, 05:16:41 AM »
Hi all,
I am wondering if there is a way to simulate the movement in water? Currently I have a submarine by default sinks to the bottom. The player needs to click to bounce up and to avoid hitting the bottom. There is rigidbody and add force on the submarine, but all look like the movement in the air or on the ground. Is there a way to add a delayed response to the click so that it could feel like in the water or any other ways to achieve the similar result? I am open to any thought. Thanks in ahead!
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: How to simulate the movement in water
«
Reply #1 on:
July 06, 2015, 08:08:15 AM »
i think you need to play around with the mass / drag / gravity of the ridgibody.
Logged
Join the PlayMaker Discord Channel!
doge biscuit
Playmaker Newbie
Posts: 11
Re: How to simulate the movement in water
«
Reply #2 on:
July 06, 2015, 11:02:34 AM »
Thank you very much Dino! I will try it out!
Logged
doge biscuit
Playmaker Newbie
Posts: 11
Re: How to simulate the movement in water
«
Reply #3 on:
July 15, 2015, 04:27:07 PM »
Hi Dino, I have tried the twist of the mass, drag. It does make the movement feel more like in water! Just for my curiosity, are there any other ways to achieve the similar result? Generally how would you and other people simulate it?
Thank you!
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: How to simulate the movement in water
«
Reply #4 on:
July 15, 2015, 05:42:55 PM »
Hi,
maybe with some negative add force and give more negative the deeper into the water?
i'm just guessing here, i have not yet tried to simulate drag in water
Logged
Join the PlayMaker Discord Channel!
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: How to simulate the movement in water
«
Reply #5 on:
July 16, 2015, 08:55:25 AM »
Hi,
I think what you are looking for is called "Buoyancy", with plenty of assets available to provide ready to use systems.
https://www.assetstore.unity3d.com/en/#!/content/181
Bye,
Jean
Logged
doge biscuit
Playmaker Newbie
Posts: 11
Re: How to simulate the movement in water
«
Reply #6 on:
July 17, 2015, 01:23:33 PM »
Thanks again Dino! I am still working on the tweaking to see any possibility! Really appreciate it!
Hi Jean, Such a sweet tool! Will try it out!
Have a good day!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to simulate the movement in water