Prop sphere: Difference between revisions
Jump to navigation
Jump to search
Tip:The only spherical model in Half-Life 2 is
Bug:The collision mesh will not be visible with the vcollide_wireframe 1 command. [todo tested in ?]
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 36: | Line 36: | ||
[[Category:Physics]] | [[Category:Physics]] | ||
[[Category:Custom FGDs]] | [[Category:Custom FGDs]] | ||
[[Category:Prop entities]] |
Revision as of 07:47, 1 September 2024
![]() |
---|
CPhysSphere |
![]() |
prop_sphere
is a point entity available in all Source games.
It is essentially a prop_physics with a perfectly spherical VPhysics collision model of 12 units radius. If you want to create a spherical entity, it is far more efficient to use prop_sphere than try to create a spherical collision mesh!

models\combine_helicopter\helicopter_bomb01.mdl
.
Keyvalues
- Radius (radius) <float> (only in
)
- The radius for the sphere.
FGD Code
If you don't intend to make any changes to the entity's C++ code, use this:
@PointClass base(BasePropPhysics, RenderFields) studioprop() = prop_sphere : "Creates a perfect sphere."
[
]