Rigging a bicycle chain
2478 6 1- r_ross
- Member
- 22 posts
- Joined: Dec. 2014
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
You can transport points by adding time to their current curve position and use modulo to make them start at the beginning once they reach the end:
With uvsample() you get the new position based on interpolating their initial positions.
And make sure to post stuff like this in the correct forum section next time ; )
vector pos = set( (@pos_curr + time) % 1, 0, 0);
With uvsample() you get the new position based on interpolating their initial positions.
@P = uvsample(0, "P", "pos_curr", pos);
And make sure to post stuff like this in the correct forum section next time ; )
Edited by Konstantin Magnus - Feb. 11, 2018 09:48:00
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- anon_user_40689665
- Member
- 648 posts
- Joined: July 2005
- Offline
- r_ross
- Member
- 22 posts
- Joined: Dec. 2014
- Offline
- r_ross
- Member
- 22 posts
- Joined: Dec. 2014
- Offline
- anon_user_40689665
- Member
- 648 posts
- Joined: July 2005
- Offline
yeo:
https://www.sidefx.com/tutorials/how-to-create-a-bicycle-chain-or-tank-tracks-along-a-curve [www.sidefx.com]
don't think it covers animation though
https://www.sidefx.com/tutorials/how-to-create-a-bicycle-chain-or-tank-tracks-along-a-curve [www.sidefx.com]
don't think it covers animation though
- r_ross
- Member
- 22 posts
- Joined: Dec. 2014
- Offline
-
- Quick Links