Yes, that script keeps it upright, but it doesn’t keep it bouncing in the same Position. I’m guessing that’s what you want by your “anchored bounce” comment.
What’s your “custom physic” that makes it bounce? That’s what is allowing them to move from their original location.
If you want the bananas to be actually Anchored you could use a Lerp in your script to just move it up and down.
and by anchored bounce thing i meant i want the carrot to bounce even with anchor on
raycast reflect or bezier curve may be good at this stuff but i dont really know how to use them
So a scripted Anchored, bouncing item. Tween the CFrame of the item, and use EasingStyle | Roblox Creator Documentation to make the “bounce” realistic, sharp at the bottom, but gradually slowing down as it moves up and accelerating when it falls down again.
This is a script i made for myself that makes an anchored part bounce:
local part = script.Parent
part.Velocity = Vector3.new(0, 20, 0)
while true do
wait(0.1)
part.Velocity = part.Velocity - Vector3.new(0, 20, 0) * 0.1
local touch = part:FindFirstChild("Touched")
if touch then
part.Velocity = Vector3.new(0, 20, 0)
touch:remove()
end
end
You can paste it into localscript and parent it to the correspondent part