Class TCollider
Unit
Declaration
type TCollider = class(TObject)
Description
Warning: this symbol is deprecated: use TCastleCollider
Deprecated abstract collider used with deprecated rigid body TRigidBody.
Hierarchy
- TObject
- TCollider
Overview
Fields
![]() |
nested const DefaultDensity = 1.0; |
![]() |
nested const DefaultMass = 0.0; |
![]() |
nested const DefaultRestitution = 0.0; |
![]() |
nested const DefaultFriction = 0.5; |
Methods
![]() |
constructor Create(const AParent: TRigidBody); |
![]() |
destructor Destroy; override; |
Properties
![]() |
property Parent: TRigidBody read FParent; |
![]() |
property Density: Single read FDensity write FDensity
default DefaultDensity; |
![]() |
property Mass: Single read FMass write FMass
default DefaultMass; |
![]() |
property Restitution: Single read FRestitution write FRestitution
default DefaultRestitution; |
![]() |
property Friction: Single read FFriction write FFriction
default DefaultFriction; |
Description
Fields
![]() |
nested const DefaultDensity = 1.0; |
Default for Density. |
![]() |
nested const DefaultMass = 0.0; |
![]() |
nested const DefaultRestitution = 0.0; |
Default for Restitution. |
![]() |
nested const DefaultFriction = 0.5; |
Default for Friction. |
Methods
![]() |
constructor Create(const AParent: TRigidBody); |
Create a collider, and set the parent rigid body. The collider instance is owned by the TRigidBody instance, so will be freed when the TRigidBody is freed. This automatically sets the TCastleRigidBody.Collider property and TCollider.Parent property. |
![]() |
destructor Destroy; override; |
This item has no description. |
Properties
![]() |
property Parent: TRigidBody read FParent; |
Parent rigid body, which in turn refers to this collider by TCastleRigidBody.Collider. |
![]() |
property Density: Single read FDensity write FDensity
default DefaultDensity; |
|
![]() |
property Mass: Single read FMass write FMass
default DefaultMass; |
|
![]() |
property Restitution: Single read FRestitution write FRestitution
default DefaultRestitution; |
This item has no description. |
![]() |
property Friction: Single read FFriction write FFriction
default DefaultFriction; |
This item has no description. |
Generated by PasDoc 0.16.0.