Skip to content

Prismatic Joint-Body Pair ​

Flare Live 3.0 · Scene Object · API type simexp.rigid_bodies.prismatic_joint_body_pair.

One linear degree of freedom along its axis. Position/velocity units are m and m/s; do not drive it with an angular Simple Servo.

A Joint-Body Pair combines the joint to its parent with the moving rigid body. position/rotation describe the joint mounting transform in the parent body's frame, not a mutable body pose command. Joint initial positions/velocities describe motion relative to that mount. The body has no separate nonzero installation transform relative to its own joint.

Set mass (kg), COM (m) and a physically valid full inertia tensor (kg m²). Limits, damping, friction and springs are per degree of freedom. Keep a contiguous physical hierarchy. Angular coordinates use radians, linear coordinates meters; forces use Nm or N. See joint conventions.

Properties ​

Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.

Body ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
body.mass1.0Mass, kg. Use a measured/physically plausible value.No
body.center_of_mass(0.0, 0.0, 0.0)Offset from the body origin to its center of mass, expressed in body axes, in meters.No
body.moment_of_inertia.x_x1.0xx component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Diagonal moment about body X.No
body.moment_of_inertia.y_y1.0yy component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Diagonal moment about body Y.No
body.moment_of_inertia.z_z1.0zz component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Diagonal moment about body Z.No
body.moment_of_inertia.x_y0.0xy component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Also sets the symmetric yx tensor entry.No
body.moment_of_inertia.x_z0.0xz component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Also sets the symmetric zx tensor entry.No
body.moment_of_inertia.y_z0.0yz component of the symmetric inertia tensor about the center of mass, in body axes and kg·m². Also sets the symmetric zy tensor entry.No

Joint Initial Positions ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_initial_positions.linear0.0Initial joint coordinate (m). Used on initialization and reset.No

Joint Initial Velocities ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_initial_velocities.linear0.0Initial joint velocity (m/s). Used on initialization and reset.No

General ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
limit_joint_movementtrueEnable joint limit enforcement in the rigid-body solver. Joint friction, damping and springs are separate settings.Yes

Joint Position Lower Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_position_lower_limits.linear-∞Minimum joint position (m). −∞ leaves the lower side open.Yes

Joint Position Upper Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_position_upper_limits.linear∞Maximum joint position (m). +∞ leaves the upper side open.Yes

Joint Velocity Lower Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_velocity_lower_limits.linear-∞Minimum signed joint velocity (m/s). −∞ leaves this side unbounded.Yes

Joint Velocity Upper Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_velocity_upper_limits.linear∞Maximum signed joint velocity (m/s). +∞ leaves this side unbounded.Yes

Joint Force Lower Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_force_lower_limits.linear-∞Lower bound on the generalized force (N). −∞ leaves this side unbounded.Yes

Joint Force Upper Limits ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_force_upper_limits.linear∞Upper bound on the generalized force (N). +∞ leaves this side unbounded.Yes

Joint Coulomb Friction Force ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_coulomb_friction_force.linear0.0Dry-friction force magnitude (N). Zero disables this contribution.Yes

Joint Damping Coefficient ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_damping_coefficient.linear0.0Viscous damping, in N per m/s. The damping load opposes joint velocity.Yes

Joint Spring Stiffness ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
joint_spring_stiffness.linear0.0Passive spring stiffness, in N per m. A larger value produces a stronger restoring load for the same displacement.Yes

General ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
prismatic_axis(1.0, 0.0, 0.0)Sliding direction in the joint mount's local frame. Supply a finite nonzero XYZ vector. The solver normalizes it.No

Simulation input/output: none.