Author Topic: Chain animation  (Read 214 times)

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2755
    • View Profile
Chain animation
« on: February 11, 2019, 12:19:13 AM »

To link the chain to the front sprocket:

1. enable the IK links debug mode: http://forum.piboso.com/index.php?topic=4640

2. open the file gfx.cfg and go to the "chain" section ( there could be two, one for full model and one for the cockpit )

3. the front sprocket position ( magenta sphere ) is set in the "engine" section

4. the chain link ( cyan sphere ) is set in the "pos" section ( the "Chain Link" values in BikeEd should be a good starting point )

5. the chain side direction ( cyan rod ) is set in the "rot" section. It must match the bike side direction ( magenta rod )
5a. the "rot" values actually represent a vector, not rotations

6. disable the IK links debug mode


Please note that it is also possible to add up to two blur textures.
« Last Edit: February 11, 2019, 12:46:04 AM by PiBoSo »
Obviously your ambition outweighs your talent

h106frp

  • Hero Member
  • *****
  • Posts: 1908
    • View Profile
Re: Chain animation
« Reply #1 on: February 11, 2019, 10:38:29 PM »
Still cannot get this to work - can anyone who has a working chain post an rwheel.fbx so I can confirm hierarchy and pivots?

Blackheart

  • Hero Member
  • *****
  • Posts: 2326
    • View Profile
Re: Chain animation
« Reply #2 on: February 11, 2019, 10:44:45 PM »
Still cannot get this to work - can anyone who has a working chain post an rwheel.fbx so I can confirm hierarchy and pivots?

What is your problem? Position, or the chain does it still move around the rear wheel? If the problem is this one not use fb2edf (in my experince not works for my chains)

EDIT: here the fbx: Example
« Last Edit: February 11, 2019, 11:17:28 PM by Blackheart »

h106frp

  • Hero Member
  • *****
  • Posts: 1908
    • View Profile
Re: Chain animation
« Reply #3 on: February 12, 2019, 12:10:29 AM »
Still moves around with the wheel, no issues at all with fbx2edf until this latest beta.

Tried importing an fbx into max2010 but the import process breaks all the pivot rotations so its even more confusing.

Thanks for the file, hopefully it might help.