Coder Social home page Coder Social logo

havok's People

Contributors

carolhmj avatar eoineoineoin avatar koteelok avatar raananw avatar sebavan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

havok's Issues

havok.MotionType is undefined or Property 'MotionType' does not exist on type 'HavokPhysicsWithBindings'

A piece of code in typescript,

import * as havok from "@babylon/havok";

havok.MotionType.DYNAMIC; // runtime error, havok.MotionType is undefined

havok.default().then(
  (hk) => hk.MotionType.DYNAMIC // compiling time error, Property 'MotionType' does not exist on type 'HavokPhysicsWithBindings'
);

the issue is just above. And checked the source code, MotionType is defined in d.ts file as an enum, so why not const enum or put the definition in js file as well?

And do we have a gently solution for that?

Also, the compiling time error is nonsense, if the same code in javascript directly, it will work well.

support to run on node environment

Hi, Amazing Library - Big Fan of your Work!

Could we anyhow use the library to run in headless mode. I'm working on a Project that requires physics to be calculated in the backend?

I tried to use it in the node env - and failed miserably.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.