How the heck do I tween a Vector3?

I know I can tween the position of like a part which is a Vector3 but how about like an ACTUAL Vector3?

image

This is what I tried but it didnt work though…

X, Y and Z are properties of Vector3. Try {X = attachment.CFrame.LookVector.X, Y = 0, Z = attachment.CFrame.LookVector.Z}.

Unless you are talking about tweening a property of a different thing. It’s then not this.

1 Like

Ohhhh, I figured, I just never tried to tween an ACTUAL Vector3, thanks so much!

Damnit, so I tried your code and it’s saying the it cant cast value to object, which is super weird cause I thought this would work…

image

Create an instance vector3 value and tween that instead.

2 Likes

Alright so I tried this and set it up the right way, but it’s not working either

edit : my mistake I got it working thanks so much

Ah, it seems that it only works in the condition that you are tweening an Instance.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.