Garry's Mod Wiki

Revision Difference

Enums/MOVECOLLIDE#516070

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>Entity:SetMoveCollide</page> and <page>Entity:GetMoveCollide</page>.</description> <fields>{{EnumField|MOVECOLLIDE_DEFAULT|0|Default behavior</fields>⤶ <fields><item key="MOVECOLLIDE_DEFAULT" value="0">Default behavior</item><item key="MOVECOLLIDE_FLY_BOUNCE" value="1">Entity bounces, reflects, based on elasticity of surface and object - applies friction (adjust velocity)</item><item key="MOVECOLLIDE_FLY_CUSTOM" value="2"><page>ENTITY:Touch</page> will modify the velocity however it likes</item><item key="MOVECOLLIDE_FLY_SLIDE" value="3">Entity slides along surfaces (no bounce) - applies friciton (adjusts velocity)</item><item key="MOVECOLLIDE_COUNT" value="4">Number of different movecollides</item></fields>⤶ </enumeration> {{EnumField|MOVECOLLIDE_FLY_BOUNCE|1|Entity bounces, reflects, based on elasticity of surface and object - applies friction (adjust velocity)}}{{EnumField|MOVECOLLIDE_FLY_CUSTOM|2|<page>ENTITY:Touch</page> will modify the velocity however it likes}}{{EnumField|MOVECOLLIDE_FLY_SLIDE|3|Entity slides along surfaces (no bounce) - applies friciton (adjusts velocity)}}{{EnumField|MOVECOLLIDE_COUNT|4|Number of different movecollides}}⤶ }}