How to make collision with water instead of falling through

Post Reply
LC Creations
Member
Posts: 159
Joined: Mon Feb 18, 2019 02:53
GitHub: LandonAConway

How to make collision with water instead of falling through

by LC Creations » Post

I'm working on a feature that toggles the ability to collide with water. Obviosly when it is off, everything is normal when colliding with water, but when it is on, you would collide with it. (Walking on it)

Not sure how to do this.
Last edited by LC Creations on Sun Jul 19, 2020 03:43, edited 3 times in total.
cdb_ac3a146dcafb

User avatar
apercy
Member
Posts: 645
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: Walking on water abilities

by apercy » Post

You could add another power: turn water to wine.

LC Creations
Member
Posts: 159
Joined: Mon Feb 18, 2019 02:53
GitHub: LandonAConway

Re: Walking on water abilities

by LC Creations » Post

apercy wrote:
Sat Jul 18, 2020 23:32
You could add another power: turn water to wine.
This comment was very uncalled for. You are on the internet and you don't know who your talking to. I was not looking for snarky answers and I do not care for this particular comment. Just please be careful about what you are saying becuase if It was somebody else, they may get angry. Thank you very much and have a great day.
cdb_ac3a146dcafb

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: How to make collision with water instead of falling through

by davidthecreator » Post

LC Creations wrote:
Sat Jul 18, 2020 23:25
I'm working on a feature that toggles the ability to collide with water. Obviosly when it is off, everything is normal when colliding with water, but when it is on, you would collide with it. (Walking on it)

Not sure how to do this.
If It's actually possible to make water nodes themselves "walkable", I don't know how to do it, but it's definelly possible to temporarily replace them with identical looking nodes that would be "walkable"
apercy wrote:
Sat Jul 18, 2020 23:32
You could add another power: turn water to wine.
Drinking bad

LC Creations
Member
Posts: 159
Joined: Mon Feb 18, 2019 02:53
GitHub: LandonAConway

Re: How to make collision with water instead of falling through

by LC Creations » Post

Well, I would like to make it temporary. Its a but hacky but I could make the nodes that im on walkable and when the player leaves that area they turn back into normal water nodes.though if there is any way around this I would rather take that route.
cdb_ac3a146dcafb

User avatar
apercy
Member
Posts: 645
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: How to make collision with water instead of falling through

by apercy » Post

LC Creations wrote:
Sun Jul 19, 2020 16:00
Well, I would like to make it temporary. Its a but hacky but I could make the nodes that im on walkable and when the player leaves that area they turn back into normal water nodes.though if there is any way around this I would rather take that route.
See how moreblocks make that slabnodes and, copying the walking light mod, you put it over the waterline (invisible, of course), so your water walker will work, but it's not suitable for servers so many nodes you will change at the same time.
And Snarky is my surname ;)

User avatar
apercy
Member
Posts: 645
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: How to make collision with water instead of falling through

by apercy » Post

An today I had a revelation! You could use the mobkit to make an invisible floating entity and attach your avatar to achieve the miracle. You can see how to set buoyance in my mod motorboat. I believe that is the more viable. Without the strange glitch of transforming water in anything solid or "flying" over the water.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests