Skip to content

Physics & Constraints

Vertexia uses a custom physics pipeline utilizing NetworkedRigidBody for unanchored parts and StaticPartBody for anchored terrain. The engine securely replicates authoritative state from the server down to the clients.

Physics Modes

When PhysicsEnabled is true, parts dynamically calculate mass based on their geometric volume and the assigned Density parameter. The engine calculates impulses locally and broadcasts SyncState Remote Procedure Calls at 20 ticks-per-second, interpolating client-side visuals for smooth motion.

Weld Constraint

Welds rigidly bind two parts together, maintaining exact relative offsets regardless of applied forces.

  • Part0: Node selector for the primary anchor.
  • Part1: Node selector for the secondary attachment.
  • C0Position / C0Rotation: The local offset applied from Part0.
  • C1Position / C1Rotation: The local offset applied from Part1.

Hinge Constraint

Hinges lock two parts on a shared rotational axis, acting as a mechanical joint.

  • Part0 / Part1: Target connections.
  • MotorEnabled: If true, the joint attempts to spin independently.
  • TargetVelocity: The angular speed the motor attempts to reach.
  • MaxImpulse: The torque limit the motor can apply to overcome resistance.