Garry's Mod Wiki

Revision Difference

constraint.CreateStaticAnchorPoint#546970

<function name="CreateStaticAnchorPoint" parent="constraint" type="libraryfunc"> <description>Creates an invisible, non-moveable anchor point in the world to which things can be attached.</description> <realm>Server</realm> <file line="674">lua/includes/modules/constraint.lua</file> <file line="661-L672">lua/includes/modules/constraint.lua</file> <args> <arg name="pos" type="Vector">The position to spawn the anchor at</arg> </args> <rets> <ret name="" type="Entity">anchor</ret> <ret name="" type="PhysObj">physicsObject,</ret> <ret name="" type="number">bone</ret> <ret name="" type="Vector">LPos</ret> </rets> </function>