class
Eagle::Physics3D::Sphere
- Eagle::Physics3D::Sphere
- Eagle::Physics3D::Shape
- Reference
- Object
Overview
A sphere collision shape.
Defined in:
eagle/physics/physics3d.crConstructors
-
.new(radius : Number, offset : Vec3 = Vec3::ZERO)
Creates a sphere.
Instance Method Summary
-
#inertia_factor : Vec3
Inertia per unit mass.
-
#local_aabb : AABB
Bounds in local space.
-
#radius : Float32
Radius in meters.
-
#radius=(radius : Float32)
Radius in meters.
-
#volume : Float32
Volume.