Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: 3rd person camera problems [Re: Doc_Savage] #355308
01/26/11 13:02
01/26/11 13:02
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
steps to create 3rd person camera(each step should be a single lite-c line)

1. define max camera distance.
2. rotate camera to desired angle( with mouse_force maybe)
3. reset camera position (-max_camera_distance,0,0)
4. rotate the camera position vector with camera angle
5. add player position to resulting position
6. trace from player to that position
7. place camera on hit.x


3333333333
Re: 3rd person camera problems [Re: Quad] #355425
01/26/11 21:01
01/26/11 21:01
Joined: Jan 2010
Posts: 145
Doc_Savage Offline OP
Member
Doc_Savage  Offline OP
Member

Joined: Jan 2010
Posts: 145
oh ok. i will try to figure out how to do those steps. im still going through the workshops but ill get it someday! what would you do to make the camera not able to go through walls? like if it hits a wall it zooms in? ah i suppose its not important. ill go through the workshops then ill try laugh im on 6 atm.

Last edited by Doc_Savage; 01/26/11 21:05.

Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Re: 3rd person camera problems [Re: Doc_Savage] #355476
01/27/11 12:40
01/27/11 12:40
Joined: Dec 2010
Posts: 87
R
romin2011 Offline
Junior Member
romin2011  Offline
Junior Member
R

Joined: Dec 2010
Posts: 87
I didn't get it but there is three arguments in c_trace my.x, temp.x is enough no need for vector afterword remove it.

Re: 3rd person camera problems [Re: romin2011] #355488
01/27/11 14:33
01/27/11 14:33
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
@doc: the steps i explained includes collision, camera does not goes in to the wall, steps 6 and 7 does that.


3333333333
Re: 3rd person camera problems [Re: Quad] #355583
01/28/11 01:42
01/28/11 01:42
Joined: Jan 2010
Posts: 145
Doc_Savage Offline OP
Member
Doc_Savage  Offline OP
Member

Joined: Jan 2010
Posts: 145
@ quad ah good to know. thank you very much. when i learn a little more about coding via workshops, ill attempt to build a whole new 3rd person camera view with the steps youve given. thank you.


Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Re: 3rd person camera problems [Re: Doc_Savage] #355584
01/28/11 01:46
01/28/11 01:46
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
if you can't figure certain steps just ask here , i'll be glad to help.


3333333333
Re: 3rd person camera problems [Re: Quad] #355624
01/28/11 13:12
01/28/11 13:12
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Feel free to send me a PM, I'll give you a link to a working 3rd person camera, so you'll be able to learn from it.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: 3rd person camera problems [Re: 3run] #355631
01/28/11 13:29
01/28/11 13:29
Joined: Jan 2010
Posts: 145
Doc_Savage Offline OP
Member
Doc_Savage  Offline OP
Member

Joined: Jan 2010
Posts: 145
ok quad, and guys, i got a working 3rd person camera going. only thing is it dosent have the option to move the camera in when it collides with a wall. can you guys help me with that?

Last edited by Doc_Savage; 01/28/11 13:30.

Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Re: 3rd person camera problems [Re: Doc_Savage] #355668
01/28/11 14:49
01/28/11 14:49
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
use c_trace


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: 3rd person camera problems [Re: painkiller] #355683
01/28/11 15:36
01/28/11 15:36
Joined: Jan 2010
Posts: 145
Doc_Savage Offline OP
Member
Doc_Savage  Offline OP
Member

Joined: Jan 2010
Posts: 145
i know but i dont know how to set it up... agh nvm ill figure it out -.-


Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Page 2 of 2 1 2

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1