Hi! Sorry but this is kinda complex to explain without showing screenshots.
- What do you want to achieve? Keep it simple and clear!
I want to make it so a part changes rotation based on the part it’s on top of, like when on a hill, I want it to match that hill.
- What is the issue? Include screenshots / videos if possible!
What I want is for parts to be able to turn left and right to change direction the direction it’s going for (already done) but whenever it’s on a hill or something elevated it doesn’t stay straight, it continues looking the way as if it weren’t. I am currently using BodyGyro to keep it straight.
Here’s an example of what it going up a hill should look like:
What it looks like now:
How I want it to look:
I want to make extra clear though, I still want it to be able to rotate like this:
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried to find something on the forums but the closest I find involved using Humanoids. I will not be using Humanoids just for a part.
I have tried making the BodyGyro’s CFrame the CFrame of the part below (using raycasting) but that makes it match the rotation of the part below, which prevents it from turning.
Thank you so much for reading!