Class TCastleAbstractTwoBodiesJoint

Unit

Declaration

type TCastleAbstractTwoBodiesJoint = class(TCastleAbstractJoint)

Description

Abstract class for joints that connect two TCastleTransform instances.

Source: src/transform/castletransform_joints.inc (line 111).

Hierarchy

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.

Source: src/transform/castletransform_joints.inc (line 126).

Protected procedure SetConnected(const AConnected: TCastleTransform); virtual;

This item has no description.

Source: src/transform/castletransform_joints.inc (line 127).

Protected procedure SetConnectedCollide(const AValue: Boolean); virtual;

This item has no description.

Source: src/transform/castletransform_joints.inc (line 128).

Protected function AllNeededKraftObjectsInitialized: Boolean; override;

This item has no description. Showing description inherited from TCastleAbstractJoint.AllNeededKraftObjectsInitialized.

Can we create joint object.

Source: src/transform/castletransform_joints.inc (line 130).

Protected procedure OnConnectedFree(const Sender: TFreeNotificationObserver); virtual;

This item has no description.

Source: src/transform/castletransform_joints.inc (line 132).

Protected procedure OnConnectedAddBehavior(const Component: TComponent); virtual;

Event callback when TCastleRigidBody is added to the connected transform.

Source: src/transform/castletransform_joints.inc (line 135).

Protected procedure OnConnectedTransfromRemoveBehavior(const Component: TComponent); virtual;

Event callback when TCastleRigidBody is removed from the connected transform.

Source: src/transform/castletransform_joints.inc (line 138).

Protected procedure OnConnectedRigidBodyInitialized(const Component: TComponent); virtual;

Event callback when connected transform TCastleRigidBody behavior is initialized.

Source: src/transform/castletransform_joints.inc (line 141).

Protected procedure OnBeforeConnectedRigidBodyDeinitialized(const Component: TComponent); virtual;

Event callback when connected transform TCastleRigidBody behavior is deinitialized.

Source: src/transform/castletransform_joints.inc (line 144).

Protected procedure SetConnectedEvents;

Sets connected transform add/remove behavior callbacks and free notification observer.

Source: src/transform/castletransform_joints.inc (line 148).

Protected procedure RemoveConnectedEvents;

Removes connected transform add/remmove behavior callbacks and free notification observer.

Source: src/transform/castletransform_joints.inc (line 152).

Protected procedure SetConnectedRigidBodyEvents;

Sets connected TCastleRigidBody behavior initialize/deinitialize callbacks.

Source: src/transform/castletransform_joints.inc (line 155).

Protected procedure RemoveConnectedRigidBodyEvents;

Removes connected TCastleRigidBody behavior initialize/deinitialize callbacks.

Source: src/transform/castletransform_joints.inc (line 159).

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.

Source: src/transform/castletransform_joints.inc (line 161).

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.

Source: src/transform/castletransform_joints.inc (line 165).

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.

Source: src/transform/castletransform_joints.inc (line 169).

Published property ConnectedCollide: Boolean read FConnectedCollide write SetConnectedCollide default false;

Should connected transforms (Connected and Parent) collide.

Source: src/transform/castletransform_joints.inc (line 173).


Generated by PasDoc 0.17.0.snapshot.