Mistakes on PrismaticConstraint wiki page

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.

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"))
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.