Aller au contenu

rotatingBlock

Fait tourner des objets autour d'un point

parameters
ParameterDefault ValueTypeDescription
tagstring"rotate-e"
speednumber60
rotateSpritebooleantrue
relativeSpeedbooleantrue
example
rotatingBlock({
tag: "rotate-e",
speed: 60,
rotateSprite: true,
relativeSpeed: true
}),