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 / camera rotation pivot point help PLZ

Author
Message
JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 22nd Sep 2006 22:08 Edited at: 22nd Sep 2006 22:12
It seems no matter what I try, the camera view from my conning tower, won't rotate correctly with the uboat model, It seems to have a different pivot point then the model, if ya haven't seen it yet-





and here the uboat model the first view is sittin on-



here's the code (it's a few hundred lines soory)



the view code is this, but I posted it all just in case.

_conncamera:
if cam1#=1 then DELETE CAMERA 1000
if cam2#=1 then DELETE CAMERA 1001
if cam4#=1 then DELETE CAMERA 1003
if cam3#=0 then MAKE CAMERA 1002
SET CURRENT CAMERA 1002
SET CAMERA RANGE 1002, .1, 5000000000
SET CAMERA FOV 1002, 50
POSITION CAMERA 1002,hpx#-2,hpy#+9,hpz#+2
rotate camera 1002, camera angle x(1002),hullangy#,camera angle z(1002)
RETURN



Is this a common problem? any ideas would be very helpful, thanks again,

JABBERWOCKY

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 23rd Sep 2006 01:46
Try using point camera instead of rotate camera

If you have X-ray vision, can you see through your own eyelids?
JABBER
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Indiana, USA
Posted: 23rd Sep 2006 16:12
thanks Saiochi I don't know why I didn't try that.

Retired DEV team member Targetware.net
Retired DEV team memeber BF 1918 MOD
http://hosted.filefront.com/JABBER1975

Login to post a reply

Server time is: 2024-09-25 09:36:17
Your offset time is: 2024-09-25 09:36:17