reckfellENGINE

AnimatableBody3D

A 3D physics body that can't be moved by external forces. When moved manually, it affects other bodies in its path.

On this page
class AnimatableBody3DReckfellSharpInherits StaticBody3D

A 3D physics body that can't be moved by external forces. When moved manually, it affects other bodies in its path.

An animatable 3D physics body. It can't be moved by external forces or contacts, but can be moved manually by other means such as code, AnimationMixers (with AnimationMixer.CallbackModeProcess set to AnimationMixer.AnimationCallbackModeProcess.Physics), and RemoteTransform3D. When AnimatableBody3D is moved, its linear and angular velocity are estimated and used to affect other physics bodies in its path. This makes it useful for moving platforms, doors, and other moving objects.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

AnimatableBody3DConstructor
# AnimatableBody3D
C#
public AnimatableBody3D();

Properties1

SyncToPhysicsProperty
# SyncToPhysics
C#
public bool SyncToPhysics { get; set; }

If true, the body's movement will be synchronized to the physics frame. This is useful when animating movement via AnimationPlayer, for example on moving platforms. Do not use together with PhysicsBody3D.MoveAndCollide.

Methods2

IsSyncToPhysicsEnabledbool
# IsSyncToPhysicsEnabled
C#
public bool IsSyncToPhysicsEnabled();
Returns bool
SetSyncToPhysicsvoid
# SetSyncToPhysics
C#
public void SetSyncToPhysics(bool enable);
Parameters
NameTypeDefault
enablebool—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.