You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
taken from the svg example, I used convex' instead of "concave";
src/examples/create-3d-geometry-from-svg-file.html
bridge.shape = 'convex'
But convex did nothing,for the bridge.svg example.
Are there other shapes then convex and concave for a more rounded result?
I also played around with the Angular/liniearFactor(0,0,0) numbers
but that had no effect either.
bridge.body.setAngularFactor(0, 0, 0)
bridge.body.setLinearFactor(0, 0, 0)
The text was updated successfully, but these errors were encountered:
concave and convex to not have an impact on the shape, but on the physics body.
If you add this.third.physics.debug.enable(), you will see the body.
You are probably looking for:
// extrude the shape to a 3d objectconstbridge=this.third.add.extrude({shape: bridgeShape[0],depth: 120,bevelEnabled: true,bevelThickness: 10,bevelSize: 10,bevelSegments: 10,bevelOffset: 0})
Have a question?
taken from the svg example, I used convex' instead of "concave";
src/examples/create-3d-geometry-from-svg-file.html
bridge.shape = 'convex'
But convex did nothing,for the bridge.svg example.
Are there other shapes then convex and concave for a more rounded result?
I also played around with the Angular/liniearFactor(0,0,0) numbers
but that had no effect either.
bridge.body.setAngularFactor(0, 0, 0)
bridge.body.setLinearFactor(0, 0, 0)
The text was updated successfully, but these errors were encountered: