Jump to content

Search the Community

Showing results for tags 'custom model'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi! For a project in school we are making a game. For loading models, I tried using https://github.com/jeromeetienne/threex.universalloader which made loading obj models very easy: var loader = new THREEx.UniversalLoader(); var url = ['mdl/tower.obj', 'mdl/tower.mtl']; loader.load(url, function(object3d){ // this function will be notified when the model is loaded object3d.scale.divideScalar(0.25); scene.add(object3d) });This loads and shows the model in my scene, but I have to make collision for it too. For that purpose, I created another obj file which contains a simple cyllinder sized to my tower model. But I have no idea how to use universalloader and Physijs together (or how to use custom physics model at all in Physijs). I found function Physijs.CovexShape but I dont know how to make it work. Any help would be greatly appreciated! Thanks!
×
×
  • Create New...