I’m trying to make a moving platform
Shown in the video, the grey part is meant to be still while the red part moves away from it
However, the opposite happens
I genuinely have no idea what I’m doing wrong
I’ve tried:
Anchoring the base (nothing moves)
Swapping attachment 0 and 1 (grey part still moves away from red)
Checking Orientation of both Attachments
I feel like I’m missing a slight detail or doing this completely wrong, help would be greatly appreciated
(apologies for bad crop)
You probably just needed to switch the attachments around. I think Attachment 1 is the base part and Attachment2 is the part you want to have the behavior
Attachments are the fundamental parts of a constraint. The constraint will manipulate the attachments in 2 ways (motion and rotation) HingeConstraint rotates attachments around an axis. PrismaticConstraint does the opposite of a hinge constraint. Instead of rotation you get movement.
And of course, for some constraints you can limit their ranges of movement.
I use HingeConstraints for most of my work where some rotation is needed. I don’t know CFrame yet. so until then I’ll use HingeConstraints & PrismaticConstraints.
Also i found a brand new one called UniversalConstraints. They’re basically CV joints.