eco-fps-controller icon indicating copy to clipboard operation
eco-fps-controller copied to clipboard

How about eco-fps-controller for godot 3?

Open babypandabear3 opened this issue 7 years ago • 4 comments

Not really an issue, but perhaps you can make eco-fps-controller for godot 3 alpha? At least the light_fps_controller.tscn one

I tried to port your code to godot 3 but my math failed me at the sliding part

I'm asking this because currently I'm porting my game to Godot 3. Thanks in advance

babypandabear3 avatar Aug 22 '17 12:08 babypandabear3

Hello,

I'm actually working on another project in python (not godot). So I let this component in standby for the time being. Also, I prefer to wait until v3 is a bit stabilized.

However I can certainly help you understanding the concepts and the code. I recommand for instance an old tutorial I wrote, which explains the sliding part. It uses a very old version of godot, but the maths stay the same (and my code is not really dependant to the api anyway) : https://github.com/gokudomatic/godot/blob/master/demos/3d/kinematic_fps/documentation/Documentation.pdf Jump to page 48 for the sliding part.

gokudomatic avatar Aug 22 '17 19:08 gokudomatic

Thank you. I manage to convert it to godot 3 just now.by doing it block by block

but only now I realize that if the body collide with wall it won't slide sideways much :)

babypandabear3 avatar Aug 22 '17 22:08 babypandabear3

Have you succeeded to convert it? Sorry if I can't help much for the moment.

gokudomatic avatar Sep 11 '17 05:09 gokudomatic

I do. But then Godot decided to change move function and it breaks again XD

Since then I decided to put it on hold. You are right. It's better to wait until it's stable first. Don't worry though. This time with help of someone on reddit I get better understanding on how all this linear algebra works so I manage to make my own character controller along with my planned feature in 2.X based on yours

babypandabear3 avatar Sep 11 '17 12:09 babypandabear3