Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is "Force" in BodyForce?

Asked by
lucas4114 607 Moderation Voter
9 years ago

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?

0
They're probably both the same and a mistake of roblox wiki. HungryJaffer 1246 — 9y

1 answer

Log in to vote
2
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
9 years ago

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.

Ad

Answer this question