Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Turning Realisticity

Author
Message
Gamefreak
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: Cyberspace
Posted: 6th Feb 2005 10:03 Edited at: 6th Feb 2005 10:04
Well, yeah

I have a program where you move a cube around. I'd like to make the turning more realistic, with better lag type stuff. First, it always had the same angle and looked really bad, but now it is a little better.

Use the + and - on the numpad to zoom in or out. Use the 8(Up) and 2(Down) on the numpad to adjust camera height. Just don't do it too much, it messes up when you go past straight above or below. In the beginning, zoom out a little(-) and move the camera up(8).

Any ideas?

[EDIT] Forgot the source

Gil Galvanti
20
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 6th Feb 2005 10:16
just slow down the turn speed i think, will that work?

Video games…they can take you places unreachable, impossible, unfeasible. They put you in the book...they put you in the movie...they put you in a world, a world that before could only be imagined.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 6th Feb 2005 10:47 Edited at: 6th Feb 2005 11:21
Quote: "Turning Realisticity"


Realistically compared to what? What's the cube meant to be - a person - a car - a boat .... ?

Anyway - this should make things turn a little more smoothly:



Your camera zoom control was a little weird - and there seemed to be a lot of unnecessary maths - things are a little simpler now.


RiiDii
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 6th Feb 2005 11:07
Whoa! Start with some basics like this:



Then add on features like this:



I think you'll find your program structure will make a world of difference when trying to figure out what's going on. Heh - gave Gil there some of the same advice .

"Droids don't rip your arms off when they lose." -H. Solo

REALITY II
Gamefreak
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: Cyberspace
Posted: 6th Feb 2005 19:41 Edited at: 6th Feb 2005 19:46
Don't worry about my zoom and height, it was going to be removed when I found a good position for the camera.

[EDIT] Thanks, that's better.

Login to post a reply

Server time is: 2025-05-28 04:28:43
Your offset time is: 2025-05-28 04:28:43