I just have an immense amount of confusion on what to do. ROBLOX Points us towards classes that don’t exist. Maybe they are part of an upcoming Studio Beta and the Dev Hub team jumped the gun, updating these classes earlier than when the betas were gonna come out?
It might be, though I’m hesitant to say for sure right now. AngularVelocity exists which means the nomenclature inclusion of Angular on superseding objects does exist.
My Main Reason for believing these aren’t the same thing and AlignPosition may be different is because of the descriptors of the classes.
BodyPosition vs AlignPosition
The BodyPosition object applies a force on a BasePart such that it will maintain a constant position in the world. The Position property, not to be confused with BasePart.Position , controls the target world position. This is the translational counterpart to a BodyGyro . If you need further control on a force applied to an object, consider using a BodyForce or BodyThrust instead.
An AlignPosition is used to apply a force towards a location. Like other constraints, AlignPositions have two Attachments . In this case the attachments are constrained to be in the same position, although not necessarily in the same orientation. By default, this constraint only applies forces on Attachment0 , although it can be configured to apply forces on both attachments.
BodyGyro vs AlignOrientation
The BodyGyro object applies a torque (rotational force) on a BasePart such that it maintains a constant angular displacement, or orientation. This allows for the creation of parts that point in a certain direction, as if a real gyroscope were acting upon it. Essentially, it’s the rotational counterpart to a BodyPosition .
An AlignOrientation is a constraint that applies a torque to make its attachments align. Like other constraints, this has two Attachments . In this case the two attachments are constrained to be oriented in the same direction but not necessarily the same position.
Right now, it doesn’t seem like there’s any good alternative to these two. They work well enough.
That being said, I hope they add AngularPosition and AngularOrientation in soon. I’d love to see an updated version of BP and BG with Center of Mass support. It’d certainly make my life easier.