constraint.FindConstraintEntity
Description
Returns the other entity involved in the first constraint of a specific type directly connected to the entity
Arguments
2 string type
The type of constraint, case sensitive. List of default constrains is as follows:
WeldAxisAdvBallsocketRopeElasticNoCollideMotorPulleyBallsocketWinchHydraulicMuscleKeepuprightSlider
Garry's Mod
Rust
Steamworks
Wiki Help