Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.