3D game walking

offonoll's picture

Hi! I am trying to walk around a city, so I have imported a 3d file but its 0,0 point is 1.5 Ztrans away from my view. I want to be the 0,0 and things go around to me. Just like a game does. I tryed changeing the z origin in 3D transform but no clue.

Any ideas?? Thank you.

offonoll's picture
Re: 3D game walking

ok. I can navigate but there is a problem, when it turns, it also turns the X,Z transition positions and I want them to stay still. Have a look at the file. there are two different samples they does the same thing. I am using a gamepad with HID. It's greate to use for this composition.

If you have an improvement, please, let me know. Thank's

PreviewAttachmentSize
City walk game.zip738.57 KB

rinboku's picture
Re: 3D game walking

I'll try it.

rinboku's picture
Re: 3D game walking

This is a simple walk through controlled by arrow keys.

PreviewAttachmentSize
newcity.zip735.99 KB

offonoll's picture
Re: 3D game walking

Rinboku!! Thank you very much!! it's lovely when you have a walk around. I put your composition in a way to work with gamepad and add a smooth. You have to pay atention on the numbers from your gamepad. I set mine in analog so I trigger data from the gamepad. instead just jumps from .498 to 0 or 1

Again Thank you!

PreviewAttachmentSize
City Gamepad.zip739.78 KB

rinboku's picture
Re: 3D game walking

Thank you for being glad. If a good result was gotten, I am glad too.

Though I don't have the gamepad!

offonoll's picture
Re: 3D game walking

From a game pad you recieve right and left from same sensor so there is need to split that info with a range of numbers then say false or true... ;)

rinboku's picture
Re: 3D game walking

OK, I see. I improved mine. I intend to upload the movie tomorrow.

rinboku's picture
Saburou Driving

I improved the movement more smoother. http://www.vimeo.com/5070319

rinboku's picture
Saburou Flying

I made a simple flight simulation by adding the altitude to walkthrough. http://www.vimeo.com/5091469

slof's picture
Re: 3D game walking

hey that reminded me of an old demo: http://www.demoscene.tv/prod.php?id_prod=5247

dust's picture
Re: 3D game walking

cool works pretty good, i guess the next step is occlusion.