How Would You Tween the Rotation of a Model?
I've been doing some tweening already with individual parts and stuff, but how would you use tweening to rotate a model (with its primary part I presume)?
Here's the format I've been using for my tweening so far.
01 | local TweenService = game:GetService( "TweenService" ) |
02 | local part = script.Parent |
05 | openGoal.Size = part.Size + Vector 3. new( 5 , 5 , 5 ) |
06 | openGoal.Position = part.Position + Vector 3. new( 0 , 0 , 10 ) |
07 | openGoal.Color = Color 3. fromRGB( 0 , 0 , 0 ) |
09 | local tweenInfo = TweenInfo.new( 4 ) |
11 | local open = TweenService:Create(part, tweenInfo, openGoal) |