Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created June 28, 2020 06:17
Show Gist options
  • Save flushpot1125/46618f5fb642ea9854af6d12c69b489c to your computer and use it in GitHub Desktop.
Save flushpot1125/46618f5fb642ea9854af6d12c69b489c to your computer and use it in GitHub Desktop.
Animation.CreateAndStartAnimation(
"anim",
snake,
"position",
snakeSpeed,
100,
snake.position,
new Vector3(0, 0, 100),
Animation.ANIMATIONLOOPMODE_CONSTANT
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment