-
I want to achieve a floating ball that you can use to float and walk on water.
-
it floats but the player’s physics makes it so it doesn’t go in the direction properly. and somewhat sink
https://gyazo.com/c93f8b8447ee96b52f6cac3fa683eef3
- I have tried putting a body velocity but the player still is slightly too heavy.
1 Like
Hey there!
To me it looks like maybe the ball you have is too heavy for the player to move.
Maybe you can try to go into the part and check the property called “CustomPhysicalProperties”
Then, you can maybe lower some of the values there so the ball is easier to move for the player.
1 Like
alright! which one’s should I change to make the ball lighter?
1 Like
I would assume maybe density and friction, otherwise you can play around with them until you find the right one
1 Like
The physics seem to be kinda hard to work with since the ball rotates and gets out of control.
https://gyazo.com/485657c137480b039d40df4def7906a6
1 Like
For some reason your character seems to spin quite a lot, you can probably add some friction in your character then. Go into the character’s properties, and also enable “CustomPhysicalProperties” and play around with the physics there, maybe even it out.
If all else fails, you can try to replicate some of what popular games do, such as “Marble Mania.” They keep the player still in the middle of the ball.
1 Like
Alright cool. But if I have my character in the middle not moving how am I suppose to move the ball? will I have to make a whole script for it?
Most likely, and you would have to simulate physics as well. My idea is that you can add some velocity to the ball if they are pressing different keys, but I could be wrong
2 Likes