kokomi.js
    Preparing search index...

    Class Physics

    kokomi.js uses cannon.js for physics. Just create mesh and body, and add it to base's physics!

    Demo: https://codesandbox.io/s/kokomi-js-physics-tffxge?file=/src/app.ts

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    base: Base
    container: Scene
    emitter: Emitter<any>
    meshPhysicsObjects: MeshPhysicsObject[]
    world: World

    Methods