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.

Newcomers DBPro Corner / how would i code the camera to rotate around my player?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Oct 2005 06:36
example:

my player stops walking,after a few seconds i want the camera to start rotating around my player(like in orbit) & watching them.i know how to do the timing but i dont know how i would code the camera to do this.

heres a pic of what i mean,if its not clear:

http://www.geocities.com/championartist/how.jpg


FITZ
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: United Kingdom
Posted: 18th Oct 2005 08:34
I'm looking in the code snippets area can't find the code, but you might!

Anyway Try the Code in the Code box it explains itself i hope if not i'll try to implement a full working code for you!
O.K.


Hope this helps?

(Resistance is futile!)
FITZ
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: United Kingdom
Posted: 18th Oct 2005 09:09 Edited at: 18th Oct 2005 09:24
OK made a sample program to help you understand camera movement and controls with a player!

Note This is a BASIC example and the Player is a ball



Hope this is more helpfull?


(Resistance is futile!)
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Oct 2005 09:39
thats a cool example,thanks.but not what im looking 4.

i want my camera to rotate around my player while it keeps facing the player.& my player is not moving...
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 18th Oct 2005 10:00
1) Go to the Newbie forum (or the DBpro forum)
2) Go to the search box at the bottom
3) Find the answer

Sorry if thats too blunt for you but this has been answered a few times before.
Good luck !

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 18th Oct 2005 11:15
thanks,i found a topic that had the juicy code i needed lol :p
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 18th Oct 2005 17:53


*Sings*
! Hallelujah !

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 19th Oct 2005 04:19
thats a really good tip also,i didnt know there was such a wealth of info on this forum!! im going to use the search more often,i also recommend noobies like me to use it!!
Jack of Blades
19
Years of Service
User Offline
Joined: 13th May 2005
Location: Heroland
Posted: 23rd Oct 2005 18:38
Hi!
Could you writte down the link you found? I don't want to post thread, yet.
I'm trying to find the same(sort of) thing with search, but unsuccesful for now.
Sorry 4 takin' your posting space.

@everyone
What I'm looking for:
Camera exactly like in game Fable - The Lost Chapters (or World of Warcraft, but without camera following player/object orientation; while holding only left click). A and D keys doesn't rotate the object, but face it in that direction and start moving and mouse movement rotates camera around player/object without rotating him/it. With W key it object takes camera orientation and start to go in camera facing direction.

Well, sorry if there are grammar mistakes. English is not my fluent lang.

Thanks and cheerz,
Pedja.

Other things to keep in mind

1- Be kind to other forum members! Treat others the way you would like to be treated! Showing respect and kindness will earn you the same!

Login to post a reply

Server time is: 2024-09-24 07:28:52
Your offset time is: 2024-09-24 07:28:52