Change particle position in python
Asked by
Chiara Modenese
Hi folks,
I tried to change particle position in py considering only one component as:
O.bodies[
but this did not work. Then, if I try to do that by using Vector3, something like:
O.bodies[
it works. Why is that one cannot change a single vector component in py?
Chiara
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply:
To post a message you must log in.