Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Swimming?

starx78
Registered User
Quote
2023-05-02 12:34:18

hi, how to swimming when touching the water surface in fps mode?


bulletchain
Registered User
Quote
2023-05-02 13:03:22

Perhaps changing the gravity within the game can be achieved when the player touches the water surface or is below the level.?


hadoken
Guest
Quote
2023-05-02 14:29:18

@starx78, @bulletchain,

... changing gravity can give you the right start for dealing with water movements. Here is small demo I made some months ago for research, which let's you dive with Shift Key.

https://www.dropbox.com/s/4dsae3...

My current main project "KINGS & LIZARDS - Dark Dimensions" has swimming, dipping, diving, leaving shallow water transition plus enhanced underwater visuals already fully implemented.

If my time allows I might come up with a more generic applicable behavior script.


starx78
Registered User
Quote
2023-05-02 23:46:32

@hadoken I like this swimming simulation can you give me a .ccb file of it?


just_in_case
Moderator
Quote
2023-05-03 02:38:52

I don't know if this will be of any help, but here is a ccb file I shared years ago in my Discord Server that shows basic swim method. Just press W and you will swim up, leave the keys player will start to sink.

I believe @hadoken behavior will have more features and will be easy to use, as my ccb doesn't use any behavior and uses more of non-coder method.

@Hadoken, I remember that game, didn't knew you are still working on it.

Download the file from here:- https://cdn.discordapp.com/attac...


starx78
Registered User
Quote
2023-05-03 08:54:23

Thanks


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact