PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

PhysicsAnalyzerIssuesFound

This event is fired when over-constraint issues are found in the Physics Analyzer.

An over-constrained system in Roblox arises when a physics body is being pushed by multiple contradictory forces. This mostly occurs when two un-anchored BaseParts overlap but are being held in place either by other BaseParts or by non-rigid constraints.

The Physics Analyzer can be used to identify such issues.

This event can only be used in Plugins, but functions as follows:

workspace.PhysicsAnalyzerIssuesFound:Connect(function(count)
	local message = string.format("%d issues found", count)
	print(message)
end)

Note this event will currently only fire if the Physics Analyzer tool in Roblox Studio is active.

Parameters

Name Type Default Description
int

The number of over-constraint issues found.