Hey, I’ve got this basic model of a motorcycle and I was curious on how to actually making it work and stuff, i’m not the best when it comes to vehicles, and I cant seem to find any good tutorials either. Could anyone give me a hand on where to begin?
2 Likes
Vehicles normally use physics in order to collide and interact with the environment this scratches out CFrames as extra work has to be done for manual collision detection,
Vehicles in roblox use newer hinge constraints to apply torque to the wheel and create a driving force so you can start from there. Link to resources
The only thing special about motorcycle is how to balance it since it only has 2 wheels,
You can use PID to add a vector force to balance it, from my experience it works however PID is hard to configure and the orientation math makes it hard to adapt for slopes.
Or you can use align orientation in the same way as a unicycle
5 Likes