Phys bone follower: Difference between revisions
Jump to navigation
Jump to search
Note:Despite common misconception, models which only use a $collisionmodel do not create phys_bone_followers.
(-added class hierarchy) |
GamerDude27 (talk | contribs) m (Replaced deprecated template with newer one + minor cleanup) |
||
Line 2: | Line 2: | ||
{{ent not in fgd|nolink=1|because=it is generated as part of another entity, and does not function on its own}} | {{ent not in fgd|nolink=1|because=it is generated as part of another entity, and does not function on its own}} | ||
{{CD|CBoneFollower|file1=physics_bone_follower.cpp}} | {{CD|CBoneFollower|file1=physics_bone_follower.cpp}} | ||
{{ | {{entity|phys_bone_follower|type=e0}} All props that use a model with [[$collisionjoints]] will generate these. One bone follower is created for every convex piece of its [[collision model]]. These can quickly eat up the [[Entity limit|entity count]]! Enabling the '''"Disable Bone Followers"''' [[KeyValues|KeyValue]] on the prop will disable bone followers, although the prop will no longer have a functioning collision model, and the model will not be able to [[ragdoll]]. The .phy of a model can also be deleted to remove the collision model and save file space, though this will affect all instances of that model. | ||
{{note|Despite common misconception, models which only use a {{ent|$collisionmodel}} do ''not'' create phys_bone_followers.}} | {{note|Despite common misconception, models which only use a {{ent|$collisionmodel}} do ''not'' create phys_bone_followers.}} | ||
Revision as of 06:00, 29 April 2023

![]() |
---|
CBoneFollower |
![]() |
Template:Entity All props that use a model with $collisionjoints will generate these. One bone follower is created for every convex piece of its collision model. These can quickly eat up the entity count! Enabling the "Disable Bone Followers" KeyValue on the prop will disable bone followers, although the prop will no longer have a functioning collision model, and the model will not be able to ragdoll. The .phy of a model can also be deleted to remove the collision model and save file space, though this will affect all instances of that model.

External links
- Mapping Tricks phys_bone_follower information, and also where the image was received from.