Page link: Documentation - Roblox Creator Hub
On the PrismaticConstraint documentation page, many of the properties refer to it as SlidingBallConstraint
instead of its actual name.
Page link: Documentation - Roblox Creator Hub
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"))
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.