Hello, I wanted to be a fish pushing a bowl from inside to move but when i test the movement is all laggy and idk what to do to fix it
Here’s a video:
Let me know if ive been clear, any help is appreciated, thank you!
Hello, I wanted to be a fish pushing a bowl from inside to move but when i test the movement is all laggy and idk what to do to fix it
Here’s a video:
Are you using physics or CFrame?
so the fish is the startercharacter and it’s just the fish mesh itself with a hrp. its hipheight is 1,5 and that’s why it floats. the bowl is another dummy (transparent) that the fish pushes as it moves
Are you moving the fish on the server or on the client? If it’s on the client, then you’ll have to set the network ownership of the bowl to the player.
the fish is just the player, how do i find out?
Then it’s on the client.
I assume you’re using a ball constraint for the water? Try playing with the settings if not maybe play with the world gravity.
and how do i set the network ownership? ive never heard of it
Click on the documentation link I added to my previous post.
local Players = game:GetService("Players")
local vehicleSeat = script.Parent
vehicleSeat.Changed:Connect(function(prop)
if prop == "Occupant" then
local humanoid = vehicleSeat.Occupant
if humanoid then
-- Get the player from the character
local player = Players:GetPlayerFromCharacter(humanoid.Parent)
if player then
vehicleSeat:SetNetworkOwner(player)
end
else
-- Reset ownership when seat is unoccupied
vehicleSeat:SetNetworkOwnershipAuto()
end
end
end)
this is the example the documentation offers, how do i set it from the bowl to the player?
BasePart:SetNetworkOwnership(Player)
The BasePart
here would be your bowls parts, and Player
your player
I love this fish bowl, very quirky and funny!
do a for loop of the bowl model and give networkownership to the player of every part, also make every part of the bowl massless. I’ve seen a game like this where you are a fish in a bowl on youtube, but i don’t remember the name of the game, cool idea it can work on roblox keep it up
thanks, what do you think i can develop the game in terms of what to do?
This would ruin the physics of the bowl though, no?