dynamic change of gravity vector
Asked by
JOHN
Good evening,
I wish to simulate a rotation and the easiest way though was to redefine the gravity vector.
However, i tried my hand by defining
a=(0,0,0)
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
# handle sphere+sphere and facet+sphere collisions
[
[
[
),
NewtonIntegr
PyRunner(
]
def graviy():
a=(0,0,1)
return a
which doesnt really do anything, (and i think i have misunderstood the nature of the pyrunner functions alltogether)
Thanks for any help!
Cheers
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply:
To post a message you must log in.