mirror of
https://github.com/nasa/trick.git
synced 2025-01-29 15:43:57 +00:00
Update README.md
This commit is contained in:
parent
c8ccfff15e
commit
2b26a2d523
@ -1,4 +1,4 @@
|
||||
#SIM_contact
|
||||
# SIM_contact
|
||||
|
||||
SIM_contact simulates the motion, and the collisions of any arbitrary numbers of moving balls.
|
||||
|
||||
@ -10,7 +10,7 @@ A graphics client allows you to see the balls in motion:
|
||||
|
||||
![Graphics CLient showing two balls](images/TwoBalls.png)
|
||||
|
||||
##Examples
|
||||
## Examples
|
||||
The configuration for the above display is:
|
||||
|
||||
```
|
||||
@ -22,4 +22,4 @@ dyn.contact.balls[1] = trick.make_Ball(3.0, 0.0, -0.5, 0.0, 0.5, 1.0)
|
||||
|
||||
The initial state of the first ball is pos=<0.0, 0.0>, vel=<0.5,0.0>, radius=0.5, and mass=1.0.
|
||||
|
||||
The initial state of the second ball is pos=<3.0, 0.0>, vel=<-0.5,0.0>, radius=0.5, and mass=1.0.
|
||||
The initial state of the second ball is pos=<3.0, 0.0>, vel=<-0.5,0.0>, radius=0.5, and mass=1.0.
|
||||
|
Loading…
x
Reference in New Issue
Block a user