Discover Learn Reference Get OpenPLXSearch Contact

Vehicles/Wheels/Tire.openplx

Tire

Tire is Physics3D.Bodies.RigidBody:
    with Vehicles.Wheels.TireTrait

    geometry is Physics3D.Geometries.Cylinder:
        radius: outer_radius
        height: width
        local_transform.rotation: Math.Quat.from_to(Math.Vec3.Y_AXIS(), rotational_axis)

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X