Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import {Mesh } from "@babylonjs/core";
import {gsap} from "gsap";
export default class CubeComponent extends Mesh {
public onStart(): void {
// other example
/*, {y:12, x:5, duration:4, repeat:-1, yoyo:true}), {x:5, duration:4, repeat:-1, yoyo:true}), {y:0.5, duration:2, repeat:-1, yoyo:true})
var tl = gsap.timeline({repeat: 5, repeatDelay: 1});, {x: 10, duration: 1});, {y: 5, duration: 1});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment