Class TCastleAbstractTwoBodiesJoint
Unit
CastleTransform
Declaration
type TCastleAbstractTwoBodiesJoint = class(TCastleAbstractJoint)
Description
Abstract class for joints that connect two TCastleTransform instances.
Hierarchy
Overview
Methods
Properties
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. |
|
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 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.
|
Generated by PasDoc 0.16.0-snapshot.