How can I extract the acceleration/vel attributes of a particle and assign it to another particle/geo. Example, if I have a particle moving under a force and now I want to use the acceleration/vel of that particle in some expression and assign it to say a pos field of box SOP or vel field of a force.
thanks,
Extract accel/vel fields of a particle?
2299 2 1- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- sadhu
- Member
- 112 posts
- Joined: Feb. 2010
- Offline
I think you can use point() expression to extract acceleration(accel) and velocity(v) of a particle. (file attached)
point(“../popnet1”,$PT,“accel”,0)
point(“../popnet1”,$PT,“v”,0)
0 is the component no, returning x component. 1 for y component and 2 for z
go to windows > hscript textport and type
exhelp point. It will give you clear idea of how point function works.
point(“../popnet1”,$PT,“accel”,0)
point(“../popnet1”,$PT,“v”,0)
0 is the component no, returning x component. 1 for y component and 2 for z
go to windows > hscript textport and type
exhelp point. It will give you clear idea of how point function works.
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
-
- Quick Links