Mistakes on PrismaticConstraint wiki page


#1

Page link: https://wiki.roblox.com/index.php?title=API:Class/PrismaticConstraint

On the PrismaticConstraint documentation page, many of the properties refer to it as SlidingBallConstraint instead of its actual name.


#2

In this case, the documentation is correct because there is an abstract class “SlidingBallConstraint”, which is where the PrimaticConstraint inherits from. Since the PrismaticConstraint doesn’t add any additional properties, it doesn’t have the class name shown for what it inherits. As an example, all the functions and events are inherited from Instance.

Simple validation code to show the abstract class exists:

print(Instance.new("PrismaticConstraint"):IsA("SlidingBallConstraint"))