| Description | Hierarchy | Fields | Methods | Properties |
type TCollisionCallback = class(TWrapper)
Callback interface for catching events of collisions. Derive this class and use TSceneNodeAnimatorCollisionResponse.SetCollisionCallback to be able to be notified if a collision has occurred.
![]() |
constructor Create(NSceneManager: TReferenceCounted); |
![]() |
destructor Destroy; override; |
![]() |
function HandleCollision(Animator: TSceneNodeAnimatorCollisionResponse): Boolean; virtual; abstract; |
![]() |
property SceneManager: TReferenceCounted read FSceneManager; |
![]() |
constructor Create(NSceneManager: TReferenceCounted); |
|
Constructor. | |
![]() |
destructor Destroy; override; |
|
Destructor. | |
![]() |
function HandleCollision(Animator: TSceneNodeAnimatorCollisionResponse): Boolean; virtual; abstract; |
|
Will be called when a collision occurrs. Parameters
ReturnsTrue if the collision was handled in the animator. In this case, the animator's target node will *not* be stopped at the collision point, but will instead move fully to the location that triggered the collision check. | |
![]() |
property SceneManager: TReferenceCounted read FSceneManager; |
|
The owning scene manager. | |