Class TCastleBallJoint

Unit

Declaration

type TCastleBallJoint = class(TCastleAbstractTwoBodiesJoint)

Description

Ball joint allows to freely rotate the transformation of one object relative to another (rotate in any axis) but does not allow any movement. Anchor determines the rotation point.

Hierarchy

Overview

Methods

Protected function GetKraftJoint: TKraftConstraintJoint; override;
Protected procedure CreateKraftJoint; override;
Protected procedure DeinitializeKraftJoint; override;
Protected procedure SetName(const Value: TComponentName); override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure WorldBeforeDetach; override;
Public procedure InternalCreateGizmos; override;
Public procedure InternalDestroyGizmos; override;
Public function PropertySections(const PropertyName: String): TPropertySections; override;

Properties

Public property Anchor: TVector3 read FAnchor write SetAnchor;
Published property AnchorPersistent: TCastleVector3Persistent read FAnchorPersistent ;

Description

Methods

Protected function GetKraftJoint: TKraftConstraintJoint; override;
 
Protected procedure CreateKraftJoint; override;
 
Protected procedure DeinitializeKraftJoint; override;
 
Protected procedure SetName(const Value: TComponentName); override;
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure WorldBeforeDetach; override;
 
Public procedure InternalCreateGizmos; override;
 
Public procedure InternalDestroyGizmos; override;
 
Public function PropertySections(const PropertyName: String): TPropertySections; override;
 

Properties

Public property Anchor: TVector3 read FAnchor write SetAnchor;

The rotation point of the ball joint in parent transform coordinates.

Published property AnchorPersistent: TCastleVector3Persistent read FAnchorPersistent ;

Anchor that can be visually edited in Castle Game Engine Editor, Lazarus and Delphi. Normal user code does not need to deal with this, instead read or write Anchor directly.

See also
Anchor
The rotation point of the ball joint in parent transform coordinates.

Generated by PasDoc 0.16.0.