Discover Learn Reference Get OpenPLXSearch Contact

Vehicles/Wheels/Rim.openplx

Rim

Rim is Physics3D.Bodies.RigidBody:
    with Vehicles.Wheels.RimTrait

    geometry is Physics3D.Geometries.Cylinder:
        radius: 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