Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What is "Force" in BodyForce?

So, BodyForce has "force" and "Force" in properties.... Is this new? the wiki says "No documentation found." for "Force" but it does have stuff about "force"... Anyone know?

1 comment

0

They're probably both the same and a mistake of roblox wiki.

1 answer

✓ Accepted answer

ROBLOX instances have a naming convention that all properties are capitalized.

E.g., Parent, Transparency, ClassName, Position, Velocity, etc.

However, the very-old BodyMovers break this convention. Their properties are called force, velocity, torque, etc.

An update a few days ago fixes this. Force and force are the same thing.


Other properties/objects do this as well. .size and .Size both work on parts. Using .size will trigger a warning in the output. This one is notable for .size previously having (as the result of a bug) different behavior from .Size.

.formFactor and .FormFactor another.

.hit and .Hit on the mouse are another example.

This discussion is preserved as it was. New answers, comments, and votes are closed.