Jump to content

Search the Community

Showing results for tags 'hingejoint'.

  • 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. If we have vertical bar and horizontal bar on top of vertical bar. and if we set joint like horizontalBar should rotate around Y (in blender around Z). If I push horizontalBar, two edges of horizontalBar is rotatin around Y but edges of horizontalBar are also swinging up and down (Z). When horizontal bar is rotationg edges are changing Y a little bit. Edges doesn't always have Y=3 like mainAxis have it. Can I lock hinge so that edges of horizontalBar will not swinging up and down and it will always rotate with same Y=3. Or I push too hard horizontalBar? Or is there any other/strange problem? Should edges of horizontal bar always rotate with same Y values (in this case Y=always 3)? var joint = new BABYLON.HingeJoint({ mainPivot: new BABYLON.Vector3(0, 0, 0), connectedPivot: new BABYLON.Vector3(0, 3, 0), mainAxis: new BABYLON.Vector3(0, 1, 0), connectedAxis: new BABYLON.Vector3(0, 1, 0) }); verticalBar.physicsImpostor.addJoint(horizontalBar.physicsImpostor, joint);
×
×
  • Create New...