As I understand there may be two possibilities to merge two objects with different controller-abilities. F.e. a tank base and a turret.
1.)
- add tankBaseNode to playerNode
- add turretNode to tankBaseNode
- add controls to playerNode (f.e. wsad movement)
- add controls to turretNode (f.e. qe turret movement)
problems: you have to find out exact position of pivot points (I don't know how: am using boundingbox plus estimated relative position at the moment)
2.)
- add bones to model skeleton
- "somehow" address the bones for different controllers
problem solved: pivot point of tankTurret is exactly it's pivot in model-tool
Cause I am a new developer I don't know if "2.)" is possible. So it would be great if a user may tell me if "2.)" is possible. Or maybe give me a little hint to find out exact positions in models. (would be very helpful cause I may investigate in a false direction…)
A link to a refering tutorial would be fine, too. Help is really appreciated due to my newbie-status.