Actions

Adjust Connector

These actions adjust the current value of the specified attribute of the specified connector. The specified value is added the current value of that attribute. Provide a negative value to decrease an attribute value.

Note

For some attributes zero or negative values make no physical sense and in some cases create mathematical problems for the solver, for example specifiying a negative moment of inertia value is meaningless. Users need to be careful about these kind of situations.

Damping

Adjusts the damping coefficent (C for springs and Ctor for torsional springs). Applicable to springs and torsional springs.

Stiffness

Adjusts the stiffness value (K for springs and Ktor for torsional springs). Applicable to springs and torsional springs.

Initial angle

Adjusts a torsional spring’s initial angle (A0). Applicable to torsional springs only.

Initial length

Adjusts a spring’s initial length (L0). Applicable to springs only.

Motor speed

Adjust a motor’s or pin joint’s motor speed. Applicable to motors and pin joints.

Note

Pin joints can be motorized by setting their enableMotor attribute to True and rpm attribute to a non-zero value.

Lower limit

Adjusts the lower angle limit. Applicable to motors, torsional springs, and pin joints.

Upper limit

Adjusts the upper angle limit. Applicable to motors, torsional springs, and pin joints.

Body1 X-Y

Adjusts b1x and/or b1y.

Body2 X-Y

Adjusts b2x and/or b2y.

Break Force

Adjusts the break force. Applicable to all connector types but welds, beams, and belts.

Break Torque

Adjusts the break torque. Applicable to motors and torsional springs.

Set Connector

Damping

Sets the damping coefficent (C for springs and Ctor for torsional springs). Applicable to springs and torsional springs.

Stiffness

Sets the stiffness value (K for springs and Ktor for torsional springs). Applicable to springs and torsional springs.

Initial angle

Sets a torsional spring’s initial angle (A0). Applicable to torsional springs only.

Initial length

Sets a spring’s initial length (L0). Applicable to springs only.

Motor speed

Adjust a motor’s or pin joint’s motor speed. Applicable to motors and pin joints.

Note

Pin joints can be motorized by setting their enableMotor attribute to True and rpm attribute to a non-zero value.

Lower limit

Sets the lower angle limit. Applicable to motors, torsional springs, and pin joints.

Upper limit

Sets the upper angle limit. Applicable to motors, torsional springs, and pin joints.

Body1 X-Y

Sets b1x and/or b1y.

Body2 X-Y

Sets b2x and/or b2y.

Break Force

Sets the break force. Applicable to all connector types but welds, beams, and belts.

Break Torque

Sets the break torque. Applicable to motors and torsional springs.

Adjust Rigid Body

Angle

Adjusts orientation angle (angle) of the target rigid body. Applicable to all rigid body types.

Friction

Adjusts the coefficient of friction of the target rigid body. Applicable to all rigid body types.

Position

Adjusts the position (x and y components can be specified individually) of the target rigid body. Applicable to all rigid body types.

Restitution

Adjusts the coefficient of restitution of the target rigid body. Applicable to all rigid body types.

Velocity

Adjusts the velocity (x and y components can be specified individually) of the target rigid body. Applicable to all rigid body types.

Set Rigid Body

Angle

Sets orientation angle (angle) of the target rigid body. Applicable to all rigid body types.

Friction

Sets the coefficient of friction of the target rigid body. Applicable to all rigid body types.

Position

Sets the position (x and y components can be specified individually) of the target rigid body. Applicable to all rigid body types.

Restitution

Sets the coefficient of restitution of the target rigid body. Applicable to all rigid body types.

Velocity

Sets the velocity (x and y components can be specified individually) of the target rigid body. Applicable to all rigid body types.

Apply

Force

Applies force to the target rigid body. Applicable to all rigid body types.

Impulse

Applies impulse to the target rigid body. Applicable to all rigid body types.

Torque

Applies torque to the target rigid body. Applicable to all rigid body types.

Create

Connector

Brings up the create connector dialog for the specified connetor type.

Rigid Body

Brings up the create rigid body dialog for the specified connetor type.

Destroy

Connector

Destroy the target connector.

Rigid Body

Destroy the target rigid body.

Motion

Constrain

Constrains the translational and rotational degree of freedom of the target rigid body. In other words, grounds the target rigid body. Grounded rigid bodies cannot move or rotate.

Unconstrain

Unconstrains the translational and rotational degree of freedom of the target rigid body. If the target is not constrained then this action has no effect.

Constrain Rotation

Constrains the rotational d:term:degree of freedom of the target rigid body. In other words, the target rigid body cannot rotate.

Unconstrain Rotation

Unconstrains the rotational degree of freedom of the target rigid body.

Move towards

Sets the velocity of the target rigid body so that the target moves toward the specified object.

Reverse Horiz. Direction

Changes the sign of the target rigid body‘s x velocity. If the target rigid body‘s x velocity is zero then this action has no effect.

Reverse Vert. Direction

Changes the sign of the target rigid body‘s y velocity. If the target rigid body‘s y velocity is zero then this action has no effect.

Throw Projectile

Hide

Connector

Sets the target connector’s visibility to False.

Note

Hidden connectors keep interacting with other elements and responding to mouse and keyboard input.

Rigid Body

Sets the target rigid body’s visibility to False.

Note

Hidden rigid bodies keep interacting with other elements and responding to mouse and keyboard input.

Show

Connector

Sets the target connector’s visibility to True.

Rigid Body

Sets the target rigid body’s visibility to True.

Adjust

Background color

Adjusts canvas background color. Red, green, and blue components can be adjusted individually.

Gravity

Adjusts system.gravity. X and y components can be adjusted individually.

Set

Background color

Sets canvas background color. Red, green, and blue components can be set individually.

Gravity

Sets system.gravity. X and y components can be set individually.

Assign Sprite

Flip Sprite(Left-Right)

Play Sound