How do I make a part's Velocity point towards the direction it is facing?

I’m currently trying to make a functioning conveyor in my game. Using a placement system, you can place the conveyor down somewhere on your base. This works, but the conveyor is nonfunctional. My experiments with both velocity parameters show no obvious way of achieving my goal.


In this image, the conveyor is pointing to the left of the screen, the velocity should match that.

The code I tried to make used the rotation of the primarypart to calculate it, but it still doesn’t get the velocity correct

Does anyone know how I can do this? Thanks in advance if possible!

https://i.gyazo.com/ef0e8ed50617edca45e7a56f9b220725.mp4

1 Like

Omg- thank you so much!! I knew it would have something to do with CFrames, but didn’t look too much into it. Thank you!!

1 Like