
Diaboy
Joined: Jan 24, 2011
A self-fulfilling prophecy of endless possibility
|
Posted: Feb 25, 2011 09:03 AM
Msg. 1 of 4
Just wondering whether what I have in mind is possible or not. It's probably waaay beyond my capabilities at the moment, but if it could potentially happen then I can aim for it.
I notice that with the npelican vehicle in maps such as Hugeass, the landing gear deploys when close to the ground - I am assuming this is something to do with the suspension animations? If this works, could this then be combined with a walking animation in a vehicle (such as the Scarab, for example) to create a sort of IK where each leg is close to touching the ground each time, rather than having it floating in a singular flat plane?
I can imagine there will be issues, but I guess I will need to expand my knowledge on animating vehicles before I can really say what those might be. If anyone has any pointers to tutorials on this as well, that would be a great help.
Thanks!
|

bobbysoon
Joined: Feb 1, 2007
|
Posted: Mar 2, 2011 06:01 PM
Msg. 2 of 4
It's possible, and you're on the right track. Examining the warthog's suspension animation is a good start at understanding how it works. Import gbxmodel and physics, link masspoints to nodes (if necisary - I don't recall atm. if the physics importer script does this), maybe make transparent, and save, then import a suspension overlay. Note the z position of the bottom of the wheel at the different frames, and compare to the values in the warthog.model_animations suspension, of full extension ground depth: -0.31445 full compression ground depth: -0.13452 Another factor is in warthog.physics - ground depth:0.15
|

Diaboy
Joined: Jan 24, 2011
A self-fulfilling prophecy of endless possibility
|
Posted: Mar 6, 2011 12:35 PM
Msg. 3 of 4
Great! I'm glad that I'm going in the right direction. Those are very helpful, I have some free time now to have a look at this. Thanks! If I have any success, I will perhaps be back with some videos or something.
|