Class TCastleSphereCollider
Unit
Declaration
type TCastleSphereCollider = class(TCastleCollider)
Description
Collide as a sphere. Add this collider to TCastleTransform behaviors, along with a TCastleRigidBody, to make the given TCastleTransform be affected by physics and collide with other physics bodies.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleBehavior
- TCastleCollider
- TCastleSphereCollider
Overview
Methods
![]() |
function CreateKraftShape(const APhysics: TKraft; const ARigidBody: TKraftRigidBody): TKraftShape; override; |
![]() |
procedure CalculateSizeCore; override; |
![]() |
procedure UpdateVisualization; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
![]() |
procedure InternalDesigningBegin; override; |
![]() |
procedure InternalDesigningEnd; override; |
Properties
![]() |
property Radius: Single read FRadius write SetRadius stored StoredWithAutoSize; |
Description
Methods
![]() |
function CreateKraftShape(const APhysics: TKraft; const ARigidBody: TKraftRigidBody): TKraftShape; override; |
![]() |
procedure CalculateSizeCore; override; |
![]() |
procedure UpdateVisualization; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
![]() |
procedure InternalDesigningBegin; override; |
![]() |
procedure InternalDesigningEnd; override; |
Properties
![]() |
property Radius: Single read FRadius write SetRadius stored StoredWithAutoSize; |
Sphere radius. Default is 1 (if not AutoSize), consistent with TCastleSphere. |
Generated by PasDoc 0.16.0.