Hello guys, I’m just really asking for opinions on what the best way you think it would be to move the flatbed of the tow truck from resting to on the floor. Below I’ve attached a diagram of what it needs to do. It needs to turn around a point so it’s tilted and then it will need to slide backwards until it hits the ground. Should I use roblox constraints/motors or something else?
I’d put a HingeConstraint and a PrismaticConstraint on it to try it out, but you may need a Motor6D for the hinge since HingeConstraints can be a little ‘bouncy’.
Also make all of the bed Parts have the Massless checkbox checked off to make it work a bit easier.
Check out the heavy equipment in my Construction Site game to see what I’ve done with those.
Do you know any good tutorials on how to set up a prismatic constraint?
Hi, I’ve managed to get them working but they don’t work together… The motor overrides the PrismaticConstraint! Any ideas?
You want one end of the prismatic attached to the frame of the truck with the hinge and the other end attached to the sliding bed so it can tilt and move forward & back. Set it up as a Servo and then you can tell it to move to whatever distance you want with a script.
Do you want 2 sets of controls for the bed (tilt up, tilt down, back and forwards) or just have it set up as a 1 button type setup? If you chose the latter then you may need to have waits in the script to allow the bed to move back, then tilt. The first choice might be better for different heights of where the car is sitting so players can tilt and extend seperately.