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 / DBP: camera and limb problem

Author
Message
Zeerun
AGK Developer
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: United Kingdom
Posted: 22nd Nov 2006 23:14
Hi I'm sure there is a very simple solution to this problem, but i cannot see it, so im posting it in this board:
I have a model made in max 8 that has a bone where the camera is going to be placed, ive exported this model using panda .x exporter. i created a sphere and glued it to the limb and that works fine however as soon as i try and position the camera to the sphere the camera appears in what i think is the middle of my world, not where it should be!
Heres the part of my code that has the problem, any help would be greatly appreciated!

Thanks!

I seek perfection but wear my scars with pride
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 23rd Nov 2006 01:05
question: you have two bones or one in your model?

bonejoint 1 sits inside your sphere
|
|
|
|
bonejoint 2 is inside the camera dummy object?

Zeerun
AGK Developer
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: United Kingdom
Posted: 23rd Nov 2006 09:59
Hi the model has one bone. one end is attached to the model and the other end is where darkbasic glues the limb, is this wrong as the sphere still gets glued there its just the camera thats the problem. Thanks for your post

I seek perfection but wear my scars with pride
Zeerun
AGK Developer
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: United Kingdom
Posted: 23rd Nov 2006 23:06
Hi the model has one bone. one end is attached to the model and the other end is where darkbasic glues the limb, is this wrong as the sphere still gets glued there its just the camera thats the problem. Thanks for your post.
EDIT: Just thought id mention that i am using the newton dll to control the model as a car, which is why conventional camera positioning is not working, the camera wouldnt stay behind the car id end up facing the sides or bonnet when going round my track!

I seek perfection but wear my scars with pride

Login to post a reply

Server time is: 2024-11-26 08:38:33
Your offset time is: 2024-11-26 08:38:33