#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)

slim violet
#

(Note I can't pay you i can only probably pay you 50 robux or if one of my items gets refunded in time maybe 100 no promises for 100) If ypu decide to help I appreciate it alot.

outer coral
#

pos. D=1000

charred hedge
#

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.

charred hedge
#

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

charred hedge
#

Dez nuts gottem

outer coral
#

Lol

slim violet
#

ty guys

slim violet
#

bruh its not working

slim violet
charred hedge
#

Let me see the code

slim violet
#

ok

dull shoalBOT
#

studio** You are now Level 2! **studio