This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Mesh, PhysicsImpostor} from "@babylonjs/core"; | |
export default class wall_left extends Mesh { | |
//途中省略 | |
public onStart(): void { | |
this.physicsImpostor = new PhysicsImpostor(this, PhysicsImpostor.BoxImpostor, { mass: 0, friction: 0, restitution: 1.0 }); | |
// ... | |
} | |
//途中省略 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment