Documentation: PhysicsRagdollComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
filename std::string file that should include just a list of other files, that have all the parts
filenames std::string a list of body parts as png images, separate the files by ','. e.g. 'data/temp/ragdoll/leg.png, data/temp/ragdoll/head.png,...'
offset_x float 0 [0, 20] offset of where the ragdoll will be created
offset_y float 0 [0, 20] offset of where the ragdoll will be created
Privates
bodies std::vector<b2Body*>*