Collision Box Data||doc136872

September 20, 2022

Format

config.collider
  • The class of the attribute:config

describe

What is obtained is the collision box data configured in the editor, usesetBoundingVolumeChanging the collision box does not affect the data here.

image.png


return value

type describe
table Collision Box Data


code example

local cfg = Entity.GetCfg("myplugin/player1") 
Lib(cfg.collider)