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
Built-in textures are now fully procedural and their generators are available to users (e.g. phx.base.Shape.stone)
The Texture parameter accepts textures defined directly by matrices as well as image files; grayscale matrices can be given a colormap with the TextureColormap parameter
TextureTransform property for basic texture operations (rotation, flipping, color adjustments)
The built-in texture "metal" is renamed to "scratches" (the old name still works with a warning)
Simulation speed can be limited with the PacingRate parameter of phx.Simulation
New LengthScale parameter of phx.engine.BulletSettings sets the typical size of the parts; the collision margin (Margin) follows from it automatically
phx.Simulation.addObjects accepts only top-level objects (adding a joint on its own raises an error); findTopLevel replaces the findBodies method
Properties that only report state (forces, energies, joint angles, measurements) are read-only; setting one raises an error
The PHX Model block now correctly runs a scene defined by a function (an .m file or a name on the path)
Fixed time sampling at some frequencies in phx.Logger
Fixed the Length of phx.Spring, which now gives the full length of the spring (including the free length)
Fixed computing missing normals when importing OBJ models (phx.shape.Mesh, phx.assembly.import)
Examples use the real dimensions of their scenes (buggy, galton, jenga, screwconv, stack, soil)
Minor changes and simplifications across the examples