[Solved] Moving an Entity Player

Hello everyone.

First I would like to apologize for this post, I usually prefer trying to solve my problems to ask someone to do it for me, but in this case I tried everything, and I am completely lost.
If anyone can just show me where my mistake is, and give me an example of how to fix it, I would appreciate it greatly.

Here is the problem:

Here is the video demonstration:

Here is the Code:
http://pastebin.com/aZmDJECC

In this code, I’m moving the character, changing directly the value of your position and rotation (eg Entity.Transform.Position.X and Entity.Transform.Rotation), and I tried, but was unable to access local translations of the Entity.

If anyone can help me by giving a simple example of how to do this movement correctly, and how to fix de physics error I’d appreciate it A LOT!

PS: Remembering that I’ll be sharing this code when is complete, for free for everyone to use it.

Physics problem Solved!!!
After many trials and many errors, finally I managed to solve the problem of gravity, thanks in part to one of the new examples that came with version 1.2.1.

Follows the updated code:
http://pastebin.com/ggxKdWEf

Now there’s only the problem of the direction of the character. Does anyone know give me a light?

Very nice job! I’m not sure about the problems you’re having (have you checked local/world matrices with their direction vectors?) but looking forward to seeing more of your project!

1 Like

Hugo_Peters!
You are a Angel! Your Ideia, give-me a anohter idea, and i solve the problem!!!

1 Like

It’s here!!!
100% work!!!
Physcis, direction and mouse sensivity.

Comming soon, i will release de code finished.

1 Like