Skip to content

Instantly share code, notes, and snippets.

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.