Class TCastleAbstractTwoBodiesJoint
Unit
Declaration
type TCastleAbstractTwoBodiesJoint = class(TCastleAbstractJoint)
Description
Abstract class for joints that connect two TCastleTransform instances.
Source: transform/castletransform_joints.inc (line 111).
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleBehavior
- TCastleAbstractJoint
- TCastleAbstractTwoBodiesJoint
Overview
Methods
| Protected | procedure InitializeKraftJoint; override; |
| Protected | procedure SetConnected(const AConnected: TCastleTransform); virtual; |
| Protected | procedure SetConnectedCollide(const AValue: Boolean); virtual; |
| Protected | function AllNeededKraftObjectsInitialized: Boolean; override; |
| Protected | procedure OnConnectedFree(const Sender: TFreeNotificationObserver); virtual; |
| Protected | procedure OnConnectedAddBehavior(const Component: TComponent); virtual; |
| Protected | procedure OnConnectedTransfromRemoveBehavior(const Component: TComponent); virtual; |
| Protected | procedure OnConnectedRigidBodyInitialized(const Component: TComponent); virtual; |
| Protected | procedure OnBeforeConnectedRigidBodyDeinitialized(const Component: TComponent); virtual; |
| Protected | procedure SetConnectedEvents; |
| Protected | procedure RemoveConnectedEvents; |
| Protected | procedure SetConnectedRigidBodyEvents; |
| Protected | procedure RemoveConnectedRigidBodyEvents; |
| Public | function PropertySections(const PropertyName: String): TPropertySections; override; |
| Public | procedure ParentAfterAttach; override; |
Properties
| Published | property Connected: TCastleTransform read FConnected
write SetConnected; |
| Published | property ConnectedCollide: Boolean read FConnectedCollide
write SetConnectedCollide default false; |
Description
Methods
| Protected | procedure InitializeKraftJoint; override; |
|
This item has no description. | |
| Protected | procedure SetConnected(const AConnected: TCastleTransform); virtual; |
|
This item has no description. | |
| Protected | procedure SetConnectedCollide(const AValue: Boolean); virtual; |
|
This item has no description. | |
| Protected | function AllNeededKraftObjectsInitialized: Boolean; override; |
|
This item has no description. Showing description inherited from TCastleAbstractJoint.AllNeededKraftObjectsInitialized. Can we create joint object. | |
| Protected | procedure OnConnectedFree(const Sender: TFreeNotificationObserver); virtual; |
|
This item has no description. | |
| Protected | procedure OnConnectedAddBehavior(const Component: TComponent); virtual; |
|
Event callback when TCastleRigidBody is added to the connected transform. | |
| Protected | procedure OnConnectedTransfromRemoveBehavior(const Component: TComponent); virtual; |
|
Event callback when TCastleRigidBody is removed from the connected transform. | |
| Protected | procedure OnConnectedRigidBodyInitialized(const Component: TComponent); virtual; |
|
Event callback when connected transform TCastleRigidBody behavior is initialized. | |
| Protected | procedure OnBeforeConnectedRigidBodyDeinitialized(const Component: TComponent); virtual; |
|
Event callback when connected transform TCastleRigidBody behavior is deinitialized. | |
| Protected | procedure SetConnectedEvents; |
|
Sets connected transform add/remove behavior callbacks and free notification observer. | |
| Protected | procedure RemoveConnectedEvents; |
|
Removes connected transform add/remmove behavior callbacks and free notification observer. | |
| Protected | procedure SetConnectedRigidBodyEvents; |
|
Sets connected TCastleRigidBody behavior initialize/deinitialize callbacks. | |
| Protected | procedure RemoveConnectedRigidBodyEvents; |
|
Removes connected TCastleRigidBody behavior initialize/deinitialize callbacks. | |
| Public | function PropertySections(const PropertyName: String): TPropertySections; override; |
|
This item has no description. Showing description inherited from TCastleComponent.PropertySections. Section where to show property in the editor. | |
| Public | procedure ParentAfterAttach; override; |
|
We need to check if the connected castle transform is not the parent node and we need to change the connected node to nil then. | |
Properties
| Published | property Connected: TCastleTransform read FConnected
write SetConnected; |
|
Second transform of the physics joint. Note that it can't be the Parent of this joint. | |
| Published | property ConnectedCollide: Boolean read FConnectedCollide
write SetConnectedCollide default false; |
|
Should connected transforms (Connected and Parent) collide. | |
Generated by PasDoc 0.17.0.snapshot.