SphereShape3D
A 3D sphere shape used for physics collision.
A 3D sphere shape used for physics collision.
A 3D sphere shape, intended for use in physics. Usually used to provide a shape for a CollisionShape3D.
Performance: SphereShape3D is fast to check collisions against. It is faster than BoxShape3D, CapsuleShape3D, and CylinderShape3D.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
SphereShape3DConstructor
public SphereShape3D();Properties1
RadiusProperty
public float Radius { get; set; }The sphere's radius. The shape's diameter is double the radius.
Methods2
GetRadiusfloat
public float GetRadius();Returns
floatSetRadiusvoid
public void SetRadius(float radius);| Name | Type | Default |
|---|---|---|
radius | float | — |
Reckfell Engine documentationBack to top ↑