Garry's Mod Wiki

Revision Difference

PhysObj:GetStress#547064

<function name="GetStress" parent="PhysObj" type="classfunc"> <description>⤶ Returns the stress of the entity.⤶ <warning>The wiki return values are outdated, GetStress returns two numeric values! (both seem to have something to do with stress)</warning>⤶ </description>⤶ <description>Returns the internal and external stress of the entity.</description>⤶ <realm>Server</realm> <rets> <ret name="" type="number">exertedStress</ret>⤶ <ret name="" type="number">The external stress (`𝜎𝑒`). It's the value of a giving force to other entities (in kg).</ret>⤶ <ret name="" type="number">The internal stress (`𝜎𝑖`). The value of a receiving force from other entities (in kg).</ret>⤶ </rets> </function>