N64 3D Platformer Control

After some research, I can now move a character with an Xbox 360 controller like Mario 64. I have two methods, one using less Python than the other.
Here is a Youtube video on the first:

I didn’t save that particular blend file, but I recreated it:
PlatSample.blend (493 KB)
And here’s my newer method, which doesn’t require a separate object to point the character (also has double-jump and camera control):
NewDir.blend (529 KB)
I might make a tutorial on this method, except the only difference is the character is pointed with Python, instead of with an “arrow.”

make a ball -> rigid body

joint it with a ball hinge to a dynamic cube

use the camera world orientation and a flat plane to push the dynamic object (rolling the ball)
(So the input is relative to the view)

now make the whole thing invisible it’s marios physics,

Next up I would use

mario.alignAxisToVect(maro.worldLinearVelocity,0, .25)
mario.alignAxisToVect(marioGroundRay.hitNormal,2, .25)

(this will make mario face his head up from the hitnormal and look the way he is going.)

own.localLinearVelocity.y*=(1-(friction))

friction can be stored in ground tiles as a property (a value from 0[no sliding friction] to 1 = no sliding at all)

Oops! I forgot to put the camera controls into the non-Python Blend file. Here:

PlatSample.blend (496 KB)

Hello !
Im learning something about GamePad on blender in this few months … and this kind of tutorials are good to community … tkz.

But i in “platsample.blend” the cube have a strange direction on right side … so i fix the value on Arrow and i get a smootly and correct direction.
This is a blender 2.70 file:
PlatSample-Fix.blend (492 KB)

Arrow set to 0.001 to fix movement.
Guy set to 3 -> 8 to smooth movement.

Plz comment if im wrong too :stuck_out_tongue: … tkz for share
Hf Gl and Happy blend.

ps: sry poor english.