Bowling Game
Versión 1.0.0 (1,27 MB) por
Flavio Luiz Puhl Jr
This is an example of use of simscape multibody with spatial contacts force block.
This example demonstrate the use of spatial contact force block on the simscape multibody environment.
When running the *prj file, it will populate the workspace with the necessary values. You can play with ball variables by changing the paramenters below on the file "BowlingParameters.m"
ball_initial_speed = 8; % in m/s, initial ball speed
ball_height_init = 50; % in cm, height the ball is dropped.
% 0 means ball in contact with the lane
ball_Y_pos = 0; % in cm, lateral displacement where the ball is shooted.
% 0 mean the middle of the lane. Range -100 to 100
ball_init_pos = 500; %in cm, its the initial position on the lane.
Several improvements can be made like change the pins design for a more representative one, improve colouring, but the point of this example is to show how to use the spatial contact force block.
Citar como
Flavio Luiz Puhl Jr (2026). Bowling Game (https://la.mathworks.com/matlabcentral/fileexchange/175673-bowling-game), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2024b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
