Tweening an object along one Axis

Is it possible to run Tween an object along the X axis but leave the Y axis still subject to gravity?
Any help is appreciated!

It MUST be a tween.

No, unless you simulate exponential gravity in your tween.

You should use BodyMovers to move the object instead.

Unfortunately not: When you create a tween, it locks in the properties you give it, so if you’re trying to move something on the X axis but no other axis, it will not function like so.

The tween applies the entire CFrame/Position property altogether, as a single CFrame.new(), or Vector3.new() value; You can’t manipulate the individual components of a position value in a tween, it’s all or nothing regretfully.

If you want the freedom to allow the object to be effected by gravity, you must use a more direct method such as setting the CFrame manually in a loop, or use Physics through BodyMovers

1 Like