1 registered members (TipmyPip),
18,574
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
Senior Expert
|
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
OP
Member
|
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  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: romin2011]
#355488
01/27/11 14:33
01/27/11 14:33
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
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
OP
Member
|
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
Senior Expert
|
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: 3run]
#355631
01/28/11 13:29
01/28/11 13:29
|
Joined: Jan 2010
Posts: 145
Doc_Savage
OP
Member
|
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: painkiller]
#355683
01/28/11 15:36
01/28/11 15:36
|
Joined: Jan 2010
Posts: 145
Doc_Savage
OP
Member
|
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.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|