Class TCastleAbstractTwoBodiesJoint
Unit
Declaration
type TCastleAbstractTwoBodiesJoint = class(TCastleAbstractJoint)
Description
Abstract class for joints that connect two TCastleTransform instances.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleBehavior
- TCastleAbstractJoint
- TCastleAbstractTwoBodiesJoint
Overview
Methods
![]() |
procedure InitializeKraftJoint; override; |
![]() |
procedure SetConnected(const AConnected: TCastleTransform); virtual; |
![]() |
procedure SetConnectedCollide(const AValue: Boolean); virtual; |
![]() |
function AllNeededKraftObjectsInitialized: Boolean; override; |
![]() |
procedure OnConnectedFree(const Sender: TFreeNotificationObserver); virtual; |
![]() |
procedure OnConnectedAddBehavior(const Component: TComponent); virtual; |
![]() |
procedure OnConnectedTransfromRemoveBehavior(const Component: TComponent); virtual; |
![]() |
procedure OnConnectedRigidBodyInitialized(const Component: TComponent); virtual; |
![]() |
procedure OnBeforeConnectedRigidBodyDeinitialized(const Component: TComponent); virtual; |
![]() |
procedure SetConnectedEvents; |
![]() |
procedure RemoveConnectedEvents; |
![]() |
procedure SetConnectedRigidBodyEvents; |
![]() |
procedure RemoveConnectedRigidBodyEvents; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
![]() |
procedure ParentAfterAttach; override; |
Properties
![]() |
property Connected: TCastleTransform read FConnected
write SetConnected; |
![]() |
property ConnectedCollide: Boolean read FConnectedCollide
write SetConnectedCollide default false; |
Description
Methods
![]() |
procedure InitializeKraftJoint; override; |
This item has no description. |
![]() |
procedure SetConnected(const AConnected: TCastleTransform); virtual; |
This item has no description. |
![]() |
procedure SetConnectedCollide(const AValue: Boolean); virtual; |
This item has no description. |
![]() |
function AllNeededKraftObjectsInitialized: Boolean; override; |
This item has no description. Showing description inherited from TCastleAbstractJoint.AllNeededKraftObjectsInitialized. Can we create joint object. |
![]() |
procedure OnConnectedFree(const Sender: TFreeNotificationObserver); virtual; |
This item has no description. |
![]() |
procedure OnConnectedAddBehavior(const Component: TComponent); virtual; |
Event callback when TCastleRigidBody is added to the connected transform. |
![]() |
procedure OnConnectedTransfromRemoveBehavior(const Component: TComponent); virtual; |
Event callback when TCastleRigidBody is removed from the connected transform. |
![]() |
procedure OnConnectedRigidBodyInitialized(const Component: TComponent); virtual; |
Event callback when connected transform TCastleRigidBody behavior is initialized. |
![]() |
procedure OnBeforeConnectedRigidBodyDeinitialized(const Component: TComponent); virtual; |
Event callback when connected transform TCastleRigidBody behavior is deinitialized. |
![]() |
procedure SetConnectedEvents; |
Sets connected transform add/remove behavior callbacks and free notification observer. |
![]() |
procedure RemoveConnectedEvents; |
Removes connected transform add/remmove behavior callbacks and free notification observer. |
![]() |
procedure SetConnectedRigidBodyEvents; |
Sets connected TCastleRigidBody behavior initialize/deinitialize callbacks. |
![]() |
procedure RemoveConnectedRigidBodyEvents; |
Removes connected TCastleRigidBody behavior initialize/deinitialize callbacks. |
![]() |
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. |
![]() |
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
![]() |
property Connected: TCastleTransform read FConnected
write SetConnected; |
Second transform of the physics joint. Note that it can't be the Parent of this joint. |
![]() |
property ConnectedCollide: Boolean read FConnectedCollide
write SetConnectedCollide default false; |
Should connected transforms (Connected and Parent) collide. |
Generated by PasDoc 0.16.0-snapshot.