Skip to content

AnimateEntity

Narta Xaymar Dirks edited this page Oct 30, 2026 · 3 revisions
BlitzLLVM

AnimateEntity 〔BlitzLLVM〕

AnimateEntity:Void entity:Int32, mode:Int32=1, speed:Float32=1, sequence:Int32=0, transition:Float32=0
Parameter Mode Type Default Description
entity In Int32 required The entity to animate.
mode In Int32 1 0 stop, 1 loop, 2 ping-pong, 3 one-shot. Defaults to 1.
speed In Float32 1 Playback speed, negative for backwards. Defaults to 1.
sequence In Int32 0 Number of the sequence to play. Defaults to 0.
transition In Float32 0 Frames over which to blend from the current pose. Defaults to 0.

Description

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

Another name for Animate, with the same parameters and behavior. The original Blitz3D has no command of this name. It is the name PureBasic and FreeBasic use, and the original sample MAK-sfx uses it where Blitz3D has Animate, so it is accepted here as an alias.

Examples

Graphics3D 320, 240, 0, 2
SetBuffer BackBuffer()
camera = CreateCamera()
box = CreateCube()
PositionEntity box, 0, 0, 5
AnimateEntity box, 1, 0.5
While Not KeyHit(1)
	UpdateWorld
	RenderWorld
	Flip
Wend

Related Commands

AddAnimSeq, Animate, AnimateMD2, Animating

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally