I have a car that steers itself. (magic)
This car shouldn’t oversteer so to compensate it should predict where it’ll be after 1 second of steering right.
Like where it’s position will be.
I have a car that steers itself. (magic)
This car shouldn’t oversteer so to compensate it should predict where it’ll be after 1 second of steering right.
Like where it’s position will be.
You can probably read BasePart.RotVelocity:
https://developer.roblox.com/en-us/api-reference/property/BasePart/RotVelocity
…and then knowing that the numbers are equivalent to radians per second, you can figure out how much radians the turn is in radians. Note that you should check only on one of the vectors and that the number can also go negative.
i did this
position + ((lookvector + angularvelocity.Y) * velocity.Magnitude)
to give me a prediction on the velocity
Oh woops, I referred to the deprecated API, anyways:
It’s still using radians per second.
You could try running down some derivatives to try to predict the velocity instead, which is probably radians per second per second.