Making a character central+ adding animation to character

Hello All,



I am working the beginener tutorial ‘Hello Physics’.

Code clarifies that camera’s location and direction determines the shooting cannonballs, and gives an impression that camera has ‘central role’ in game.

But if I add another character to program which is a meshed model and I want that when game starts

then this model to become ‘central’ then how to achieve it?



Second, model has animation actions push,pull,stand,walk and dodge.If I want to impart another animation to it like punching then how can I do it?



With regards

Manish

I want that when game starts
then this model to become ‘central’ then how to achieve it?


[java]
setLocalTranslation(new Vector3f(0, 0, 0)); :?:?:?:?
[/java]

If I want to impart another animation to it like punching then how can I do i


Import it to blender and create custom animations :roll:.