WOLFRAM SYSTEM MODELER
The ball component consists of three prismatic joints and one spherical rotation joint connected to both a golf ball component and a soccer ball component. Depending on the Boolean variable modelInUse, either the soccer model or the golf model will be active. That means that the other model will not exist.
Above is the diagram view of the ball component. The two ball models are so-called conditional components and will only exist if some condition is true. In this case, if modelInUse is equal to one or two.
To change the friction coefficients of the ground, click the component called softSupportingPlane. Under the General tab, you can change the static and dynamic friction coefficient values, here denoted mu_static and mu_dynamic.
This domain example is an informational resource made freely available by Wolfram Research.
A summary of the licensing terms can be found at:
The full legal code can be found at:
Type: Mass (kg)
Description: Mass of the ball
Type: Length (m)
Description: Radius of the ball
Type: Velocity (m/s)
Description: Starting velocity of the ball
Type: AngularVelocity (rad/s)
Description: Starting angular velocity of the ball
Type: Position (m)
Description: Starting position of the ball
Base class, used to both represent a soccer free kick and a golf swing.