Class TCastleRopeJoint
Unit
Declaration
type TCastleRopeJoint = class(TCastleAbstractTwoBodiesJoint)
Description
Rope joint connects two bodies by an invisible rope that prevents the distance between them to grow beyond specfied Distance. Anchor and ConnectedAnchor define the hook points of the rope.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleBehavior
- TCastleAbstractJoint
- TCastleAbstractTwoBodiesJoint
- TCastleRopeJoint
Overview
Methods
![]() |
function GetKraftJoint: TKraftConstraintJoint; override; |
![]() |
procedure CreateKraftJoint; override; |
![]() |
procedure DeinitializeKraftJoint; override; |
![]() |
procedure OnConnectedFree(const Sender: TFreeNotificationObserver); override; |
![]() |
procedure SetName(const Value: TComponentName); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure WorldBeforeDetach; override; |
![]() |
procedure InternalCreateGizmos; override; |
![]() |
procedure InternalDestroyGizmos; override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
Properties
![]() |
property Anchor: TVector3 read FAnchor write SetAnchor; |
![]() |
property ConnectedAnchor: TVector3 read FConnectedAnchor
write SetConnectedAnchor; |
![]() |
property Distance: Single read FDistance write SetDistance default 0.0; |
![]() |
property AnchorPersistent: TCastleVector3Persistent read FAnchorPersistent ; |
![]() |
property ConnectedAnchorPersistent: TCastleVector3Persistent read FConnectedAnchorPersistent ; |
Description
Methods
![]() |
function GetKraftJoint: TKraftConstraintJoint; override; |
![]() |
procedure CreateKraftJoint; override; |
![]() |
procedure DeinitializeKraftJoint; override; |
![]() |
procedure OnConnectedFree(const Sender: TFreeNotificationObserver); override; |
![]() |
procedure SetName(const Value: TComponentName); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure WorldBeforeDetach; override; |
![]() |
procedure InternalCreateGizmos; override; |
![]() |
procedure InternalDestroyGizmos; override; |
![]() |
function PropertySections(const PropertyName: String): TPropertySections; override; |
Properties
![]() |
property Anchor: TVector3 read FAnchor write SetAnchor; |
First hook point that is located in parent transform local coordinates. |
![]() |
property ConnectedAnchor: TVector3 read FConnectedAnchor
write SetConnectedAnchor; |
Second hook point that is located in Connected local coordinates. |
![]() |
property Distance: Single read FDistance write SetDistance default 0.0; |
Maximum rope length (between Anchor and ConnectedAnchor) |
![]() |
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
|
![]() |
property ConnectedAnchorPersistent: TCastleVector3Persistent read FConnectedAnchorPersistent ; |
ConnectedAnchor 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 ConnectedAnchor directly. See also
|
Generated by PasDoc 0.16.0.