API Referencebezel
bezel
Physics bodies, constraints, vehicles, and spatial query results.
declare module "bezel"
Physics bodies, constraints, vehicles, and spatial query results.
Types
RaycastHit— Ray intersection information, including the hit object and surface normal.RaycastResult— Ray query hits and nearest-hit information; hit is null when no closest hit exists.OverlapHit— Overlap contact information. penerationAxis retains the spelling used by this API.OverlapResult— Overlap contacts and a flag indicating whether any were found.SweepHit— Contact encountered while sweeping a collider along a movement path.SweepResult— Movement sweep contacts, nearest contact, and resulting end position.QueryResult— Physics query payload. Inspect operation before reading the corresponding result field.WorldBody— World attachment marker type used as a joint endpoint.JointMember— An object or world attachment used as one endpoint of a joint.Spring— Optional spring behavior with parameters interpreted according to mode.AngleLimits— Optional minimum and maximum joint angles.Motor— Optional joint motor with force and torque limits.VehicleWheelSettings— Wheel geometry, suspension, steering, and braking parameters.VehicleDifferential— Torque distribution and differential settings for a pair of wheel indices.VehicleEngine— Engine torque, RPM limits, inertia, and angular damping.VehicleTransmission— Forward/reverse gear ratios, clutch behavior, and shift timing.VehicleControllerSettings— Engine, transmission, and differential configuration for a vehicle.VehicleSettings— Vehicle axes, wheel configurations, controller settings, and stability limits.CapsuleCollider— Capsule collision shape specified by radius and height.BoxCollider— Box collision shape specified by its three-dimensional size.SphereCollider— Sphere collision shape specified by radius.MeshCollider— Mesh collision shape descriptor.Collider— Supported collision shape descriptors for rigidbodies and physics queries.
Enums
QueryOperation— Identifies the physics query represented by a QueryResult.SpringMode— Selects frequency/damping-ratio or stiffness/damping spring configuration.Space— Coordinate space used for joint configuration.VehicleTransmissionMode— Automatic or manual vehicle gear selection.
Classes
Joint— Base component for a physical constraint between two joint members.FixedJoint— Constraint that fixes the relative transform of its two members.HingeJoint— Constraint allowing rotation about a hinge axis, with optional limits and motor.SpringJoint— Distance constraint with spring behavior and optional length limits.Vehicle— Physics vehicle component with driving inputs and configurable wheels and drivetrain.Rigidbody— Physics component providing colliders, forces, velocities, tags, and spatial queries.Sensor— Rigidbody initialized as a sensor for detecting contacts and sending signals.