#Hello i'm trying to make a basketball game but when i dunk it glitches in the video can you fix it
1 messages · Page 1 of 1 (latest)
pos. D=1000
Hey bro sorry that you’re code is having issues
I think i see whats wrong here though
If the hoop is anchored, .Position will still work but may mess with connected parts like welds, constraints, or attachments.
BodyGyro & BodyPosition is deprecated and the new body movers are preferred, to tell you the specific type needed i would need more information
On the line where u set rim.position u should instead change it to rim.CFrame
And in the tween u should tween the CFrame property, not Rotation
U should make a variable for the target_cframe of the rim when dunked on, and a variable for the normal_cframe of the rim
Tbh the entire thing would work for now if u just change out the line which sets rim.position for setting rim.CFrame, its right after u called attachToRimWithDuration
And save the original cframe of the rim in a variable original_cframe
Actually u could just make the tweenInfo so that it reverses and set the easingStyle to Enum.EasingStyle.Elastic to make it go down then back up like a rubber band
Lol
ty guys
bruh its not working
if you can can you maybe go in my game and fix it because i tried to do it and its not working
Let me see the code
Maybe if i got some time
ok
** You are now Level 2! **